Skip to content

Commit 04bee1e

Browse files
Refactor line-heights
1 parent ce9d429 commit 04bee1e

File tree

10 files changed

+13
-13
lines changed

10 files changed

+13
-13
lines changed

assets-src/styles/sass/30-base/_forms.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ textarea,
105105
border: 2px solid;
106106
border-radius: 0;
107107
inline-size: 100%;
108-
line-height: 1.25;
108+
//line-height: 1.25;
109109
padding: rem(5);
110110

111111
&:focus {
@@ -158,7 +158,7 @@ select {
158158
border: 2px solid;
159159
border-radius: 0;
160160
inline-size: 100%;
161-
line-height: 1.25;
161+
//line-height: 1.25;
162162
padding: rem(5);
163163

164164
&:focus {

assets-src/styles/sass/30-base/_typography.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ body {
77
font-size: var(--w3c-text-0);
88
font-style: $font-style;
99
font-weight: $font-weight;
10-
line-height: 1.5;
1110
}
1211

1312

@@ -18,6 +17,7 @@ body {
1817

1918
h1, h2, h3, h4, h5, h6 {
2019
font-weight: $emphasis;
20+
line-height: 1.2;
2121
// margin: 0 0 1rem;
2222
}
2323

assets-src/styles/sass/50-core-components/_archive-banner.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
#archive-banner .archive-banner__message h2 {
4545
display: block;
4646
font-size: var(--w3c-text-1);
47-
line-height: calc(32 / 19);
47+
//line-height: calc(32 / 19);
4848
}
4949

5050
#archive-banner .archive-banner__message h3 {

assets-src/styles/sass/50-core-components/_comments.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
.comment__author {
8383
font-size: var(--w3c-text-0);
8484
font-weight: bold;
85-
line-height: calc(32 / 24);
85+
//line-height: calc(32 / 24);
8686
}
8787

8888
.comment__body {

assets-src/styles/sass/50-core-components/_navigation.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ li.top-nav-item + li.top-nav-item {
189189
@include mq($max-width) {
190190
block-size: 100%;
191191
font-size: var(--w3c-text-0);
192-
line-height: rem(27);
192+
//line-height: rem(27);
193193
padding: rem(10) rem(5) rem(7) !important;
194194
position: relative;
195195
white-space: nowrap;

assets-src/styles/sass/50-core-components/_toc.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
}
2222

2323
.toc ul {
24-
line-height: 1em;
24+
//line-height: 1em;
2525
padding-inline-start: rem(15);
2626

2727
ul {

assets-src/styles/sass/60-advanced-components/_collapsibles.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
font-size: var(--w3c-text-0);
1414
font-weight: bold;
1515
inline-size: 100%;
16-
line-height: calc(27 / 18);
16+
//line-height: calc(27 / 18);
1717
justify-content: space-between;
1818
// margin-block-start: 0;
1919
padding: rem(3);
@@ -22,7 +22,7 @@
2222
font-size: var(--w3c-text-01);
2323
font-weight: normal;
2424
inline-size: 100%;
25-
line-height: calc(22.5 / 15);
25+
//line-height: calc(22.5 / 15);
2626
color: #333;
2727
order: 2;
2828
}

assets-src/styles/sass/60-advanced-components/_navigation.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@
108108
display: flex;
109109
font-size: var(--w3c-text-0);
110110
inline-size: 100%;
111-
line-height: inherit;
111+
//line-height: inherit;
112112
outline: solid 1px transparent;
113113
outline-offset: -1px;
114114
padding: rem(12) 0;
@@ -205,7 +205,7 @@
205205

206206
@include mq($max-width) {
207207
//font-size: rem(34);
208-
line-height: calc(43 / 34);
208+
//line-height: calc(43 / 34);
209209
margin-block-end: rem(25);
210210
margin-block-start: 0;
211211
}

assets-src/styles/sass/70-third-party-plugins/_accessible-autocomplete.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@
128128
.autocomplete__hint,
129129
.autocomplete__input,
130130
.autocomplete__option {
131-
line-height: 1.25;
131+
//line-height: 1.25;
132132
}
133133

134134
.autocomplete__hint,

assets-src/styles/sass/80-templates/_listing.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
.groups .sidebar h3 {
3333
font-size: var(--w3c-text-0);
3434
font-weight: normal;
35-
line-height: rem(44);
35+
//line-height: rem(44);
3636
}
3737
}
3838

0 commit comments

Comments
 (0)