Skip to content

Commit

Permalink
Gallery block: Fix problem with overflowing captions on new gallery b…
Browse files Browse the repository at this point in the history
…lock format (#34402)

Co-authored-by: Glen Davies <[email protected]>
  • Loading branch information
glendaviesnz and Glen Davies authored Sep 1, 2021
1 parent 58b22d5 commit 98238b5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/block-library/src/gallery/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,13 @@
font-size: $default-font-size;
left: 0;
margin-bottom: 0;
max-height: 100%;
max-height: 60%;
overflow: auto;
padding: 40px 10px 9px;
padding: 0 8px 8px;
position: absolute;
text-align: center;
width: 100%;
box-sizing: border-box;

img {
display: inline;
Expand Down

0 comments on commit 98238b5

Please sign in to comment.