UX: Fix flair dropdown styling in user account (#15201)
This commit is contained in:
parent
43903f8dfe
commit
bf18145e70
|
@ -1,3 +1,5 @@
|
|||
$flair-size: 18px;
|
||||
|
||||
.select-kit.flair-chooser {
|
||||
.select-kit-header,
|
||||
.flair-row {
|
||||
|
@ -5,22 +7,22 @@
|
|||
align-items: center;
|
||||
background-position: center;
|
||||
background-repeat: no-repeat;
|
||||
background-size: 30px 30px;
|
||||
background-size: $flair-size $flair-size;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
margin-right: 5px;
|
||||
height: 30px;
|
||||
width: 30px;
|
||||
height: $flair-size;
|
||||
width: $flair-size;
|
||||
|
||||
&.rounded {
|
||||
background-size: (30px / 1.4) (30px / 1.4);
|
||||
background-size: ($flair-size / 1.4) ($flair-size / 1.4);
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
.d-icon {
|
||||
display: block;
|
||||
height: (30px / 1.8);
|
||||
width: (30px / 1.8);
|
||||
height: ($flair-size / 1.8);
|
||||
width: ($flair-size / 1.8);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -28,8 +30,4 @@
|
|||
white-space: nowrap;
|
||||
}
|
||||
}
|
||||
|
||||
.select-kit-header {
|
||||
padding: 2px 4px;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue