Skip to content

Commit

Permalink
fix(shs-5505): fix banner image with partial overlay title alignment
Browse files Browse the repository at this point in the history
  • Loading branch information
cienvaras committed Mar 4, 2024
1 parent bf9ef63 commit 232b03c
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docroot/themes/humsci/humsci_airy/css/humsci_airy.css

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@

&__text {
@include hb-hero-text;
display: flex;
flex-direction: column;
max-width: hb-calculate-rems($hb-layout-XXL-width) !important; // override max page width set in hb-page-width mixin
padding-right: hb-calculate-rems(24px);

Expand All @@ -43,6 +45,7 @@
}

h2,
h3,
.field-hs-gradient-hero-body p {
@include hb-traditional {
margin-bottom: 0;
Expand All @@ -58,6 +61,11 @@
text-align: right;
}

h2,
h3 {
align-self: flex-end;
}

.field-hs-gradient-hero-body {
flex-direction: column;
align-items: flex-end;
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

0 comments on commit 232b03c

Please sign in to comment.