diff options
Diffstat (limited to 'core/css/styles.scss')
-rw-r--r-- | core/css/styles.scss | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/core/css/styles.scss b/core/css/styles.scss index dbb692745b1..30757b233ee 100644 --- a/core/css/styles.scss +++ b/core/css/styles.scss @@ -760,8 +760,7 @@ code { } } - /* Grid view toggle */ - #picker-view-toggle { + #picker-showgridview { position: absolute; background-color: transparent; border: none; @@ -772,17 +771,13 @@ code { top: 0; &:hover, + &:active, &:focus { + box-shadow: 0 0 0 2px var(--color-primary); opacity: 1; } } - // keyboard focus - #picker-showgridview:focus + #picker-view-toggle { - box-shadow: 0 0 0 2px var(--color-primary); - opacity: 1; - } - .actions.creatable { flex-wrap: wrap; padding: 0px; |