[web] Enforce single line HTML elements

This commit is contained in:
Alain Nussbaumer 2024-04-26 23:26:56 +02:00
parent de847a6711
commit 5db55f66c1
6 changed files with 18 additions and 9 deletions

View File

@ -35,8 +35,7 @@ export default [
'sort-keys': 'off',
'vue/html-self-closing': 'off',
'vue/max-attributes-per-line': 'off',
'vue/prop-name-casing': 'off',
'vue/singleline-html-element-content-newline': 'off'
'vue/prop-name-casing': 'off'
}
}
]

View File

@ -32,7 +32,9 @@
</div>
</div>
</template>
<template #no-more>&nbsp;</template>
<template #no-more>
<br />
</template>
</VueEternalLoading>
<modal-dialog-artist-spotify
:item="artist"

View File

@ -34,7 +34,9 @@
</div>
</div>
</template>
<template #no-more>&nbsp;</template>
<template #no-more>
<br />
</template>
</VueEternalLoading>
<modal-dialog-playlist-spotify
:item="playlist"

View File

@ -3,7 +3,9 @@
<content-with-hero>
<template #heading-left>
<h1 class="title is-5" v-text="album.name" />
<h2 class="subtitle is-6">&nbsp;</h2>
<h2 class="subtitle is-6">
<br />
</h2>
<div class="buttons fd-is-centered-mobile mt-5">
<a class="button is-small is-dark is-rounded" @click="play">
<mdicon class="icon" name="play" size="16" />

View File

@ -22,7 +22,9 @@
keypath="page.search.help"
scope="global"
>
<template #query><code>query:</code></template>
<template #query>
<code>query:</code>
</template>
<template #help>
<a
href="https://owntone.github.io/owntone-server/smart-playlists/"
@ -37,7 +39,7 @@
<div v-for="query in recent_searches" :key="query" class="control">
<div class="tags has-addons">
<a class="tag" @click="open_search(query)" v-text="query" />
<a class="tag is-delete" @click="remove_search(query)"></a>
<a class="tag is-delete" @click="remove_search(query)" />
</div>
</div>
</div>

View File

@ -22,7 +22,7 @@
<div v-for="query in recent_searches" :key="query" class="control">
<div class="tags has-addons">
<a class="tag" @click="open_search(query)" v-text="query" />
<a class="tag is-delete" @click="remove_search(query)"></a>
<a class="tag is-delete" @click="remove_search(query)" />
</div>
</div>
</div>
@ -46,7 +46,9 @@
</div>
</div>
</template>
<template #no-more>&nbsp;</template>
<template #no-more>
<br />
</template>
</VueEternalLoading>
</template>
<template v-if="!expanded" #footer>