Skip to content

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

FIX: alignment for box/bullet tag styles

Krisa2f78fd77817
diff --git a/app/assets/stylesheets/common/base/tagging.scss b/app/assets/stylesheets/common/base/tagging.scss
index cd3c57ac91b..451acc60ce8 100644
--- a/app/assets/stylesheets/common/base/tagging.scss
+++ b/app/assets/stylesheets/common/base/tagging.scss
@@ -61,7 +61,7 @@
&.box, &.bullet {
vertical-align: middle;
}
-
+
&.box + .topic-header-extra,
&.bullet + .topic-header-extra,
&.bar + .topic-header-extra {
@@ -147,6 +147,10 @@ $tag-color: $primary-medium;
background-color: transparent;
.discourse-tag {
padding: 4px;
+ &.box {
+ padding: 1px 8px;
+ margin: 3px 5px;
+ }
}
}
@@ -182,15 +186,16 @@ $tag-color: $primary-medium;
}
-
-.discourse-tag.bullet:before {
- content: "\f04d";
- font-family: FontAwesome;
- color: $primary-low-mid;
- margin-right: 5px;
- font-size: $font-down-2;
- position:relative;
- top: -0.1em;
+.discourse-tag.bullet {
+ margin-right: .25em;
+ &:before {
+ content: "\f04d";
+ font-family: FontAwesome;
+ color: $primary-low-mid;
+ margin-right: 5px;
+ font-size: $font-down-2;
+ position:relative;
+ }
}
header .discourse-tag {color: $tag-color }