Skip to content

Commit

Permalink
Update design of gallery "remove" button. (#3470)
Browse files Browse the repository at this point in the history
* Update design of gallery "remove" button to integrate better with the selected state border.
  • Loading branch information
mtias authored Nov 14, 2017
1 parent cbd8cd0 commit 42f6d02
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions blocks/library/gallery/editor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,21 @@
}

.blocks-gallery-image__inline-menu {
padding: 2px;
position: absolute;
top: 8px;
right: 8px;
border: 1px solid $light-gray-500;
background-color: $white;
top: 0;
right: 0;
background-color: $blue-medium-500;
display: inline-flex;
z-index: z-index( '.blocks-gallery-image__inline-menu' );

.components-button {
color: $white;
&:hover,
&:focus {
color: $white;
}
}
}

.blocks-gallery-image__remove {
Expand Down

0 comments on commit 42f6d02

Please sign in to comment.