Skip to content

Commit dd2cafc

Browse files
committed
frontend: make dialog related components responsive
1 parent d7e8ea3 commit dd2cafc

File tree

2 files changed

+2
-14
lines changed

2 files changed

+2
-14
lines changed

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

Lines changed: 2 additions & 10 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 {
@@ -96,13 +90,11 @@
9690

9791
.header .closeButton,
9892
.header .closeButton img {
99-
width: 18px;
100-
height: 18px;
93+
width: var(--size-subheader);
94+
height: var(--size-subheader);
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/language/language.module.css

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,4 @@
5252
.link {
5353
font-size: var(--size-smaller);
5454
}
55-
56-
.language {
57-
font-size: var(--size-small) !important;
58-
}
5955
}

0 commit comments

Comments
 (0)