Skip to content

Commit 80500b0

Browse files
committed
frontend: use responsive fontsizes in guide component
1 parent 9b71de5 commit 80500b0

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

frontends/web/src/components/guide/guide.module.css

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,16 @@
1212

1313
.close {
1414
display: flex;
15-
height: 24px;
15+
height: 2.4rem;
16+
min-height: 0;
1617
padding: 4px;
17-
width: 24px;
18+
width: 2.4rem;
1819
}
1920

2021
.close img {
21-
height: 20px;
22+
height: 2rem;
2223
margin-left: calc(var(--space-quarter) / 2);
23-
width: 20px;
24+
width: 2rem;
2425
}
2526

2627
.wrapper {
@@ -115,11 +116,11 @@
115116
align-items: center;
116117
display: flex;
117118
font-size: var(--size-subheader);
118-
flex-direction: row;
119119
font-weight: bold;
120+
flex-direction: row;
120121
justify-content: flex-start;
121-
line-height: 1.2em;
122-
width: 16px;
122+
line-height: 1.2;
123+
width: 1.6rem;
123124
}
124125

125126
.entryTitle .entryTitleText {
@@ -131,7 +132,7 @@
131132
display: flex;
132133
flex-direction: row;
133134
justify-content: flex-start;
134-
padding-left: 16px;
135+
padding-left: 1.2rem;
135136
}
136137

137138
.expanded {

0 commit comments

Comments
 (0)