Skip to content

Commit 1cde241

Browse files
committed
wip
1 parent fe22c36 commit 1cde241

File tree

5 files changed

+8
-14
lines changed

5 files changed

+8
-14
lines changed

frontends/web/src/components/actionable-item/actionable-item.module.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
.container {
2-
--size-default: min(1.4rem, 24px);
32
align-items: center;
43
background-color: var(--background-secondary);
54
border: none;

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

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,9 @@
3333
}
3434
/* guard dialog and wait-dialog from view styles */
3535
@media (min-width: 1200px) {
36-
.header .title {
37-
--size-subheader: 1.6rem;
38-
}
3936
.modal {
4037
margin-left: var(--sidebar-width-large);
4138
}
42-
.modal .contentContainer p {
43-
--size-default: 1.4rem;
44-
}
4539
}
4640

4741
.modal.small {
@@ -101,8 +95,6 @@
10195
}
10296

10397
.contentContainer {
104-
font-size: var(--size-default);
105-
font-weight: 400;
10698
padding: var(--space-half);
10799
}
108100

frontends/web/src/components/forms/radio.module.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
.radio {
2-
--size-default: 1.4rem;
32
line-height: 1.5;
43
}
54

frontends/web/src/style/base.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ body {
66
font-size: 1.6rem; /* 16px base for body, this will be overwritten on Android */
77
}
88

9+
.app {
10+
font-size: var(--size-default); /* for components that do not define font-size */
11+
}
12+
913
html,
1014
body {
1115
background-color: var(--background);

frontends/web/src/style/variables.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,10 @@
4848
--color-error-border: rgba(227, 6, 19, .33);
4949

5050
/* font sizes */
51-
--size-large: 3.2rem;
52-
--size-header: 2.4rem;
51+
--size-large: min(3.2rem, 36px);
52+
--size-header: min(2.4rem, 36px);
5353
--size-subheader: min(1.8rem, 36px);
54-
--size-default: 1.4rem;
54+
--size-default: min(1.6rem, 28px); /* was 14px now 16px*/
5555
--size-small: min(1.2rem, 20px);
5656
--size-xsmall: 1.1rem;
5757
--size-title: min(3.2rem, 36px);
@@ -206,6 +206,6 @@
206206
--size-header: min(2rem, 36px);
207207
--size-subheader: min(1.6rem, 36px);
208208
--size-title: min(1.6rem, 36px);
209-
--size-default: min(1.6rem, 36px);
209+
--size-default: min(1.6rem, 28px);
210210
}
211211
}

0 commit comments

Comments
 (0)