Skip to content

Commit 12bf3ea

Browse files
committed
frontend: fix manage backup buttons
On the manage backups view the buttons have no space and on restore from backup the buttons are too big. The gap CSS attribute only works in newer webkit versions. - changed from gap to margin to fix spacing issue - removed button height on the restore backup from sd card, so that the button uses the default button height
1 parent 0c78953 commit 12bf3ea

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

frontends/web/src/components/backups/backups.css

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,14 +59,23 @@
5959
display: flex;
6060
flex-wrap: wrap;
6161
flex-direction: row-reverse;
62-
gap: var(--space-half);
6362
margin-top: var(--space-default);
6463
}
6564

65+
@media (min-width: 769px) {
66+
.backupButtons > *:not(:first-child) {
67+
margin-right: var(--space-half);
68+
}
69+
}
70+
6671
@media (max-width: 768px) {
6772
.backupButtons {
6873
align-items: center;
6974
flex-direction: column;
7075
margin-top: var(--space-default);
7176
}
77+
78+
.backupButtons > *:not(:first-child) {
79+
margin-top: var(--space-half);
80+
}
7281
}

frontends/web/src/components/steps/steps.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,6 @@
336336
}
337337

338338
.step button {
339-
height: var(--wizard-item-height);
340339
font-size: var(--size-wizard-text);
341340
}
342341

0 commit comments

Comments
 (0)