Skip to content

Commit

Permalink
Increase bottom padding on gallery image caption (#13623)
Browse files Browse the repository at this point in the history
Resolves #8018 by increasing the bottom padding of gallery image captions by 4px. Also increases the coverage of our gradient background by 10% to help with text contrast.
  • Loading branch information
kjellr authored and gziolo committed Feb 1, 2019
1 parent 21c4aac commit 2009bdd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/block-library/src/gallery/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,11 @@
width: 100%;
max-height: 100%;
overflow: auto;
padding: 40px 10px 5px;
padding: 40px 10px 9px;
color: $white;
text-align: center;
font-size: $default-font-size;
background: linear-gradient(0deg, rgba($color: $black, $alpha: 0.7) 0, rgba($color: $black, $alpha: 0.3) 60%, transparent);
background: linear-gradient(0deg, rgba($color: $black, $alpha: 0.7) 0, rgba($color: $black, $alpha: 0.3) 70%, transparent);

img {
display: inline;
Expand Down

0 comments on commit 2009bdd

Please sign in to comment.