Skip to content

Commit df8cb07

Browse files
authored
fix(style): fix visual problems (@fehmer) (monkeytypegame#6827)
On the settings page - theme -> custom add a margin to the left of the color picker - buttons/input on the right side align with the top of the text on the left side
1 parent 34001e7 commit df8cb07

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

frontend/src/styles/settings.scss

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,13 +79,13 @@
7979
display: grid;
8080
// gap: .5rem;
8181
grid-template-areas:
82-
"title buttons"
82+
"title title"
8383
"text buttons";
8484
grid-template-columns: 2fr 1fr;
8585
grid-template-rows: auto 1fr;
8686
column-gap: 2rem;
8787
row-gap: 0.5rem;
88-
align-items: center;
88+
align-items: start;
8989

9090
.inputAndButton {
9191
display: grid;
@@ -251,6 +251,7 @@
251251
label {
252252
display: grid;
253253
place-content: center start;
254+
margin-left: 0.5rem;
254255
}
255256

256257
& .spacer {

0 commit comments

Comments
 (0)