Skip to content

Commit ad2555f

Browse files
authored
UX: fix misalignment for non-admin and anon + move to variable use (#349)
1 parent 1805184 commit ad2555f

File tree

1 file changed

+7
-12
lines changed

1 file changed

+7
-12
lines changed

assets/stylesheets/solutions.scss

+7-12
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
$solved-color: green;
1+
$solved-color: var(--success);
22

33
.select-kit {
44
&.solved-status-filter {
@@ -36,17 +36,12 @@ $solved-color: green;
3636
}
3737

3838
.post-controls span.accepted-text {
39-
padding: 8px 10px;
40-
font-size: $font-up-1;
41-
42-
span {
43-
display: inline-block;
44-
padding: 8px 1px;
45-
}
46-
47-
.accepted-label {
48-
margin-left: 7px;
49-
}
39+
display: inline-flex;
40+
align-items: center;
41+
gap: 0.25em;
42+
padding: 0 0.5rem;
43+
font-size: var(--font-up-1);
44+
height: 100%;
5045
}
5146

5247
.mobile-view .solved-panel {

0 commit comments

Comments
 (0)