Skip to content

A platform for community discussion. Free, open, simple.

UX: Better spacing for icons in select-kit labels

Penar Musaraja3d47f1aad10
diff --git a/app/assets/stylesheets/common/select-kit/select-kit.scss b/app/assets/stylesheets/common/select-kit/select-kit.scss
index d45978ba641..65a21259718 100644
--- a/app/assets/stylesheets/common/select-kit/select-kit.scss
+++ b/app/assets/stylesheets/common/select-kit/select-kit.scss
@@ -79,12 +79,16 @@
.name {
display: inline-block;
- .d-icon {
+ > .d-icon {
margin-left: 0.5em;
margin-right: 0;
}
}
+ > .d-icon {
+ margin-right: 0;
+ }
+
&.select-kit-selected-color {
border-bottom-width: 5px;
border-bottom-style: solid;