Skip to content

Commit 61d41d7

Browse files
authored
CHEMH-322 CHEMH-323: fixes to banner text order (#117)
* CHEMH-322 CHEMH-323: fixes to banner text order * fixing the space a little smaller.
1 parent 33192de commit 61d41d7

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

dist/css/chem_h_subtheme.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/scss/components/banner/_banner--halfpill-title.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
color: $su-color-white;
5151
line-height: 110%;
5252
letter-spacing: -0.04em;
53+
margin-top: 0;
5354
}
5455

5556
.su-card__button {

src/scss/components/banner/_banner--halfpill.scss

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,6 @@
3535
margin-left: 0;
3636

3737
.su-card__contents {
38-
@include chemh-heading--badge;
39-
4038
padding: 0;
4139

4240
@include grid-media-max('sm') {
@@ -50,10 +48,15 @@
5048

5149
h2 {
5250
@include type-a;
51+
@include chemh-heading--badge;
5352

5453
color: $su-color-black;
5554
line-height: 110%;
5655
letter-spacing: -0.04em;
56+
57+
&:before {
58+
margin-bottom: 1.3rem;
59+
}
5760
}
5861

5962
.bullet {
@@ -69,6 +72,10 @@
6972
font-size: 1.5em;
7073
}
7174
}
75+
76+
.su-card__superhead {
77+
@include chemh-heading--badge;
78+
}
7279
}
7380
}
7481

0 commit comments

Comments
 (0)