Skip to content

Commit

Permalink
fix dark mode
Browse files Browse the repository at this point in the history
  • Loading branch information
xoxys committed Dec 29, 2024
1 parent d052d04 commit 00f8144
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/src/components/layout/scaffold/Tabs.vue
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@

<div
v-if="isDropdownOpen"
class="absolute mt-1 bg-wp-background-100 border rounded-md shadow-lg z-20"
class="absolute mt-1 bg-wp-background-100 dark:bg-wp-background-200 border border-wp-background-400 rounded-md shadow-lg z-20 dark:hover:bg-wp-background-100 hover:bg-wp-background-200"
:class="[visibleTabs.length === 0 ? 'left-0' : 'right-0']"
>
<router-link
v-for="tab in hiddenTabs"
:key="tab.title"
:to="tab.to"
class="block w-full px-4 py-2 text-left hover:bg-wp-background-200 whitespace-nowrap"
class="block w-full px-4 py-2 text-left whitespace-nowrap"
@click="isDropdownOpen = false"
>
{{ tab.title }}
Expand Down

0 comments on commit 00f8144

Please sign in to comment.