Skip to content

Commit

Permalink
add some margin and max-height for figure.align-horizontally
Browse files Browse the repository at this point in the history
  • Loading branch information
peterstadler committed Apr 25, 2024
1 parent 8c032e2 commit 3b7f03e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion resources/sass/components/_text.scss
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,11 @@ div.table-wrapper {

figure {
&.align-horizontally {
text-align:center;
text-align:center;
img {
margin: 0 1em;
max-height: calc(var(--breakpoint-sm) / 1.5);
}
}
&.float-left,
&.float-right {
Expand Down

0 comments on commit 3b7f03e

Please sign in to comment.