fix(front): mistakes
This commit is contained in:
parent
690fa15f12
commit
1deb3df8ce
|
@ -29,7 +29,6 @@ const images = computed(() => {
|
|||
return urls
|
||||
})
|
||||
|
||||
|
||||
const bgcolors = ref([
|
||||
'#f2efef',
|
||||
'#eee9e9',
|
||||
|
@ -50,7 +49,6 @@ function shuffleArray(array: string[]): string[] {
|
|||
|
||||
const randomizedColors = computed(() => shuffleArray(bgcolors.value));
|
||||
|
||||
|
||||
const goToPlaylist = () => {
|
||||
router.push({name: 'library.playlists.detail', params: {id: props.playlist.id}})
|
||||
}
|
||||
|
@ -85,7 +83,6 @@ const goToPlaylist = () => {
|
|||
<div class="playlist-meta">
|
||||
<ActorLink
|
||||
:actor="playlist.actor"
|
||||
:avatar="false"
|
||||
/>
|
||||
</div>
|
||||
</template>
|
||||
|
@ -103,19 +100,20 @@ const goToPlaylist = () => {
|
|||
</Card>
|
||||
</template>
|
||||
|
||||
<style scoped>
|
||||
<style lang="scss" scoped>
|
||||
.playlist-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
grid-template-rows: repeat(2, 1fr);
|
||||
gap: 2px;
|
||||
|
||||
> img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
}
|
||||
|
||||
.playlist-grid img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.playlist-meta {
|
||||
display: flex;
|
||||
|
|
|
@ -107,7 +107,7 @@ const setPage = () => {
|
|||
|
||||
<div class="goto">
|
||||
{{ t('vui.go-to') }}
|
||||
<Input :placeholder="page?.toString()" @keyup.enter="setPage" @keydown="preventNonNumeric"
|
||||
<Input :placeholder="page.toString()" @keyup.enter="setPage" @keydown="preventNonNumeric"
|
||||
inputmode="numeric" pattern="[0-9]* // TODO: Move number input functionality into `Input` component"
|
||||
v-model="goTo" />
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue