FIX: ConfigPane size

This commit is contained in:
Robert Kossessa
2024-02-07 00:59:10 +01:00
parent 0ca2b6328c
commit b7b0ed6e16
2 changed files with 2 additions and 2 deletions

View File

@@ -27,7 +27,7 @@ store.fetchProfiles()
<Transition name="slide-right">
<ConfigPane
v-if="store.connected"
class="flex-1 flex flex-col border-solid border-0 border-l bg-zinc-900 bg-opacity-50" />
class="flex-1 max-w-full flex flex-col border-solid border-0 border-l bg-zinc-900 bg-opacity-50" />
</Transition>
</div>
</div>

View File

@@ -6,7 +6,7 @@
class="flex font-heading rounded-t-lg overflow-hidden border-t border-x border-zinc-800 bg-zinc-900">
<button
v-for="(option, key) in options" :key="key"
class="flex-1 py-2 items-center text-center rounded-t-lg min-w-0"
class="flex-1 py-2 items-center text-center rounded-t-lg min-w-0 transition-colors"
:class="currentOption!==key ? 'hover:bg-zinc-800 text-muted-foreground' : 'text-black bg-zinc-300 hover:bg-zinc-200'"
@click="currentOption = key">
{{ $t(option.titleKey) }}