Skip to content

Commit e03c3a9

Browse files
authored
add focus styling for settings dropdown trigger button (#1206)
1 parent d7f8aea commit e03c3a9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: stubs/inertia/resources/js/Layouts/AppLayout.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ const logout = () => {
123123
</button>
124124

125125
<span v-else class="inline-flex rounded-md">
126-
<button type="button" class="inline-flex items-center px-3 py-2 border border-transparent text-sm leading-4 font-medium rounded-md text-gray-500 bg-white hover:text-gray-700 focus:outline-none transition">
126+
<button type="button" class="inline-flex items-center px-3 py-2 border border-transparent text-sm leading-4 font-medium rounded-md text-gray-500 bg-white hover:text-gray-700 focus:outline-none focus:bg-gray-50 active:bg-gray-50 transition">
127127
{{ $page.props.user.name }}
128128

129129
<svg class="ml-2 -mr-0.5 h-4 w-4" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor">

Diff for: stubs/livewire/resources/views/navigation-menu.blade.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
</button>
8080
@else
8181
<span class="inline-flex rounded-md">
82-
<button type="button" class="inline-flex items-center px-3 py-2 border border-transparent text-sm leading-4 font-medium rounded-md text-gray-500 bg-white hover:text-gray-700 focus:outline-none transition">
82+
<button type="button" class="inline-flex items-center px-3 py-2 border border-transparent text-sm leading-4 font-medium rounded-md text-gray-500 bg-white hover:text-gray-700 focus:outline-none focus:bg-gray-50 active:bg-gray-50 transition">
8383
{{ Auth::user()->name }}
8484

8585
<svg class="ml-2 -mr-0.5 h-4 w-4" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor">

0 commit comments

Comments
 (0)