Skip to content

Commit 1bf7c23

Browse files
authored
[6.x] Grid dot menu improvements (#13500)
1 parent 0c0942a commit 1bf7c23

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

resources/css/elements/base.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
@layer base {
3333
/* Explicitly show focus without needing to tab */
3434
.show-focus:focus,
35+
button,
3536
/* Explicitly show focus without needing to tab for buttons inside modals, e.g. Assets > cancel button on delete modal */
3637
[data-dismissable-layer] button:focus,
3738
/* and then a global selector for focus-visible everywhere else (except where the focus-within class will handle the focus outline target instead). Use a direct descendant here so we don't affect things like the focus state of Bard field > Replicator > then another Bard field. */

resources/js/components/assets/Browser/Grid.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@
129129
</div>
130130
</div>
131131
</button>
132-
<div class="absolute end-2 top-1">
132+
<div class="absolute end-1 top-1 opacity-0 group-hover:opacity-100 group-focus-within:opacity-100 transition-opacity [&_button]:bg-white [&_button]:hover:bg-white [&_button]:dark:bg-gray-900 [&_button]:dark:hover:bg-gray-900">
133133
<Dropdown placement="left-start">
134134
<DropdownMenu>
135135
<DropdownItem

0 commit comments

Comments
 (0)