Skip to content

Commit 9482cea

Browse files
author
Lukas Nys
committed
style: match sidebar font-size with guidemaker-ember-template (ember-learn#879)
1 parent 79ef587 commit 9482cea

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

app/styles/app.css

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,16 +44,23 @@ main a.edit-icon {
4444
.table-of-contents {
4545
list-style-type: none;
4646
padding-left: 0;
47-
font-size: var(--font-size-lg);
47+
font-size: var(--font-size-base);
4848
font-weight: var(--font-weight-3);
4949
}
5050

5151
.sub-table-of-contents {
5252
padding-left: var(--spacing-1);
53-
font-size: var(--font-size-md);
53+
font-size: var(--font-size-base);
5454
font-weight: var(--font-weight-2);
5555
}
5656

57+
@media (max-width: 844px) {
58+
.table-of-contents,
59+
.sub-table-of-contents {
60+
font-size: var(--font-size-lg);
61+
}
62+
}
63+
5764
.sub-table-of-contents .sub-table-of-contents {
5865
padding-left: var(--spacing-3);
5966
margin-bottom: 0;

0 commit comments

Comments
 (0)