minor style changes
All checks were successful
Deploy App / build (push) Successful in 1m9s
Deploy App / deploy (push) Successful in 21s

This commit is contained in:
valere
2026-02-10 22:04:52 +01:00
parent a349205af9
commit 620112d9ba
4 changed files with 10 additions and 6 deletions

View File

@@ -1,5 +1,5 @@
<template>
<div class="min-h-screen" @keydown.esc="resetFocus">
<div class="min-h-screen dark:bg-neutral-900" @keydown.esc="resetFocus">
<NuxtRouteAnnouncer />
<NuxtLayout>
<NuxtPage ref="pageContent" />
@@ -10,7 +10,7 @@
<script setup lang="ts">
import { ref, onMounted, onUnmounted } from 'vue'
const pageContent = ref < HTMLElement | null > (null)
const pageContent = ref<HTMLElement | null>(null)
const resetFocus = (event: KeyboardEvent) => {
if (event.key === 'Escape') {

View File

@@ -183,7 +183,7 @@ const isTrackLoaded = ref(false)
}
.play-button {
@apply absolute bottom-1/2 top-28 opacity-0 hover:opacity-100;
@apply absolute opacity-0 hover:opacity-100;
}
&.show-play-button {

View File

@@ -8,7 +8,7 @@
<button @click="Rewind">
rewind
</button>
<div>{{ progressPercentage }}</div>
<!-- <div>{{ progressPercentage }}</div> -->
<div>{{ currentSpeed }}</div>
</div>
<div class="disc" ref="discRef" id="disc">
@@ -183,7 +183,10 @@ const Reverse = () => {
}
const Rewind = async () => {
// ...
if (!disc.value || !sampler.value) return
Reverse()
play()
}
const handleKeyDown = (e: KeyboardEvent) => {

View File

@@ -77,7 +77,8 @@ $open-speed: 0.4s;
border-radius: 999px;
}
.rank {
.rank,
.play-button {
opacity: 0;
}
}