Skip to content

Commit b5a17c7

Browse files
authored
[11.x] Fix hover overflow on theme switcher (#53064)
1 parent 6715c44 commit b5a17c7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Illuminate/Foundation/resources/exceptions/renderer/components/theme-switcher.blade.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ class="absolute right-0 z-10 flex origin-top-right flex-col rounded-md bg-white
7171
@click="menu = false"
7272
>
7373
<button
74-
class="flex items-center gap-3 px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-700"
74+
class="flex items-center gap-3 px-4 py-2 hover:rounded-t-md hover:bg-gray-100 dark:hover:bg-gray-700"
7575
:class="theme === 'light' ? 'text-gray-900 dark:text-gray-100' : 'text-gray-500 dark:text-gray-400'"
7676
@click="lightMode()"
7777
>
@@ -87,7 +87,7 @@ class="flex items-center gap-3 px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-70
8787
Dark
8888
</button>
8989
<button
90-
class="flex items-center gap-3 px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-700"
90+
class="flex items-center gap-3 px-4 py-2 hover:rounded-b-md hover:bg-gray-100 dark:hover:bg-gray-700"
9191
:class="theme === undefined ? 'text-gray-900 dark:text-gray-100' : 'text-gray-500 dark:text-gray-400'"
9292
@click="systemMode()"
9393
>

0 commit comments

Comments
 (0)