Skip to content

Commit 271f673

Browse files
AdamBurtEtchpeterkeating
authored andcommitted
Add CSS classes for vertical alignment on mobile
Adjacent changes exist in the Widgets module to add this class via a dropdown in the CMS.
1 parent 62364ff commit 271f673

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

content/Assets/Styles/components/hero/_vertical.scss

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,15 @@
1313
.hero--vertical-top {
1414
align-items: flex-start;
1515
}
16+
17+
@include mq($until: tablet) {
18+
.hero--vertical-mobile-bottom {
19+
align-items: flex-end;
20+
}
21+
.hero--vertical-mobile-center {
22+
align-items: center;
23+
}
24+
.hero--vertical-mobile-top {
25+
align-items: flex-start;
26+
}
27+
}

0 commit comments

Comments
 (0)