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 4, 2024
1 parent 92a6df4 commit 16f34b1
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
Expand Up @@ -17,7 +17,7 @@
width: 100%;

@include govuk-media-query($from: tablet) {
float: left;
float: inline-start;
width: 50%;
}
}
Expand All @@ -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%;
}

Expand Down

0 comments on commit 16f34b1

Please sign in to comment.