Skip to content

Commit

Permalink
SDSS-1185: Update caption text to be centered to the image and center…
Browse files Browse the repository at this point in the history
… aligned (#464)

* SDSS-1185: Update caption text to be centered to the image and center aligned.
  • Loading branch information
jenbreese authored Aug 2, 2024
1 parent 2fb128a commit 70f3e23
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
@include sdss-caption;

* {
line-height: 1.3;
line-height: 1.5;
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -210,13 +210,14 @@
// Captions mixin
@mixin sdss-caption {
color: $su-color-black-70;
text-align: left;
text-align: center;
float: unset;
width: auto;
max-width: 750px;
max-width: 900px;
margin: 0 auto;

@include grid-media-min('2xl') {
font-size: 1.9rem;
font-size: 1.8rem;
}

@include grid-media-between('md','xl') {
Expand Down

0 comments on commit 70f3e23

Please sign in to comment.