Skip to content

Commit

Permalink
Set lightbox buttons' background & border to none on hover & focus
Browse files Browse the repository at this point in the history
  • Loading branch information
michalczaplinski committed Sep 26, 2023
1 parent d70d9ba commit d3986f0
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions packages/block-library/src/image/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,12 @@
outline: 5px auto -webkit-focus-ring-color;
outline-offset: 5px;
}

&:hover,
&:focus {
background: none;
border: none;
}
}
}

Expand All @@ -191,6 +197,12 @@
padding: 0;
cursor: pointer;
z-index: 5000000;

&:hover,
&:focus {
background: none;
border: none;
}
}

.lightbox-image-container {
Expand Down

0 comments on commit d3986f0

Please sign in to comment.