Skip to content

Commit 8974323

Browse files
committed
"Added overflow-hidden to theme-switcher component to prevent overflow"
1 parent 593ba6b commit 8974323

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/views/components/theme-switcher.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ class="block p-1 rounded hover:bg-gray-100 dark:hover:bg-gray-800"
4545
<x-pulse::icons.moon class="hidden dark:block w-5 h-5" />
4646
</button>
4747

48-
<div x-show="menu" class="z-10 absolute origin-top-right right-0 bg-white dark:bg-gray-800 rounded-md ring-1 ring-gray-900/5 shadow-xl flex flex-col" style="display: none;" @click="menu = false">
48+
<div x-show="menu" class="z-10 absolute origin-top-right right-0 bg-white dark:bg-gray-800 rounded-md ring-1 ring-gray-900/5 shadow-xl flex flex-col overflow-hidden" style="display: none;" @click="menu = false">
4949
<button class="flex items-center px-4 py-2 gap-3 hover:bg-gray-100 dark:hover:bg-gray-700" :class="theme === 'light' ? 'text-gray-900 dark:text-gray-100' : 'text-gray-500 dark:text-gray-400'" @click="lightMode()">
5050
<x-pulse::icons.sun class="w-5 h-5" />
5151
Light

0 commit comments

Comments
 (0)