Skip to content

Commit 8181290

Browse files
committed
frontend: small settings styling/spacing improvement
- decrease space between active tab and underline - decrease space between setting config label and description - align tabs on the left with content/main-title - center setting toggle vertically on mobile - increase space between settings item on mobile
1 parent 17b231b commit 8181290

File tree

3 files changed

+4
-8
lines changed

3 files changed

+4
-8
lines changed

frontends/web/src/routes/new-settings/components/settingsItem/settingsItem.module.css

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,22 +50,18 @@
5050
color: var(--color-secondary);
5151
font-size: 14px;
5252
margin: 0;
53-
margin-top: 16px;
53+
margin-top: var(--space-quarter);
5454
overflow: hidden;
5555
text-overflow: ellipsis;
5656
}
5757

5858
@media (max-width: 768px) {
5959
.container {
6060
height: auto;
61-
margin-bottom: 2px;
61+
margin-bottom: 5px;
6262
min-width: 100%;
6363
}
6464

65-
.rightContentContainer {
66-
margin-top: var(--space-quarter);
67-
}
68-
6965
.secondaryText {
7066
display: none;
7167
}

frontends/web/src/routes/new-settings/components/singledropdown/singledropdown.module.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@
5151

5252
@media (max-width: 560px) {
5353
.select {
54+
margin-top: var(--space-quarter);
5455
width: 100%;
5556
}
5657
}

frontends/web/src/routes/new-settings/components/tabs.module.css

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
.container {
22
display: flex;
3-
padding-left: var(--space-half);
43
margin-bottom: var(--space-default);
54
}
65

@@ -11,7 +10,7 @@
1110
}
1211

1312
.container a.active {
14-
padding-bottom: var(--space-half);
13+
padding-bottom: var(--space-quarter);
1514
border-bottom: 2px solid var(--color-blue);
1615
}
1716

0 commit comments

Comments
 (0)