Skip to content

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

FIX: Do not wrap flair title in chooser (#13667)

Bianca Nenciuc39ab6c0ae38
diff --git a/app/assets/stylesheets/common/select-kit/flair-row.scss b/app/assets/stylesheets/common/select-kit/flair-row.scss
index d6ecec579c2..90d5d47c843 100644
--- a/app/assets/stylesheets/common/select-kit/flair-row.scss
+++ b/app/assets/stylesheets/common/select-kit/flair-row.scss
@@ -1,29 +1,35 @@
-.flair-chooser .select-kit-header,
-.select-kit .flair-row {
- .avatar-flair {
- align-items: center;
- background-position: center;
- background-repeat: no-repeat;
- background-size: 30px 30px;
- display: flex;
- justify-content: center;
- margin-right: 5px;
- height: 30px;
- width: 30px;
+.select-kit.flair-chooser {
+ .select-kit-header,
+ .flair-row {
+ .avatar-flair {
+ align-items: center;
+ background-position: center;
+ background-repeat: no-repeat;
+ background-size: 30px 30px;
+ display: flex;
+ justify-content: center;
+ margin-right: 5px;
+ height: 30px;
+ width: 30px;
- &.rounded {
- background-size: (30px / 1.4) (30px / 1.4);
- border-radius: 50%;
+ &.rounded {
+ background-size: (30px / 1.4) (30px / 1.4);
+ border-radius: 50%;
+ }
+
+ .d-icon {
+ display: block;
+ height: (30px / 1.8);
+ width: (30px / 1.8);
+ }
}
- .d-icon {
- display: block;
- height: (30px / 1.8);
- width: (30px / 1.8);
+ span {
+ white-space: nowrap;
}
}
-}
-.select-kit.flair-chooser .select-kit-header {
- padding: 2px 4px;
+ .select-kit-header {
+ padding: 2px 4px;
+ }
}