Skip to content

Commit

Permalink
Figure/caption now uses logical properties to support RTL rendering
Browse files Browse the repository at this point in the history
  • Loading branch information
matthillco committed Nov 12, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent a2edbf1 commit b918155
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/assets/stylesheets/components/_figure.scss
Original file line number Diff line number Diff line change
@@ -17,7 +17,7 @@
width: 100%;

@include govuk-media-query($from: tablet) {
float: left;
float: inline-start;
width: 50%;
}
}
@@ -29,8 +29,8 @@
display: block;
vertical-align: top;
box-sizing: border-box;
float: left;
padding-left: govuk-spacing(3);
float: inline-end;
padding-inline-start: govuk-spacing(3);
width: 50%;
}

0 comments on commit b918155

Please sign in to comment.