set inline category-badge to display inline
This commit is contained in:
parent
15cb1bd094
commit
d396e4eeed
|
@ -484,3 +484,6 @@ DEPENDENCIES
|
|||
uglifier
|
||||
unf
|
||||
unicorn
|
||||
|
||||
BUNDLED WITH
|
||||
1.10.3
|
||||
|
|
|
@ -43,3 +43,22 @@
|
|||
float: right;
|
||||
}
|
||||
}
|
||||
|
||||
// Target the .badge-category text, the bullet icon needs to maintain `display: block`
|
||||
#suggested-topics h3 .badge-wrapper.bullet span.badge-category,
|
||||
#suggested-topics h3 .badge-wrapper.box span,
|
||||
#suggested-topics h3 .badge-wrapper.bar span {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
#suggested-topics h3 .badge-wrapper.bullet span.badge-category, {
|
||||
// Override vertical-align: text-top from `badges.css.scss`
|
||||
vertical-align: baseline;
|
||||
}
|
||||
|
||||
#suggested-topics h3 .badge-wrapper.bullet,
|
||||
#suggested-topics h3 .badge-wrapper.bullet span.badge-category-parent-bg,
|
||||
#suggested-topics h3 .badge-wrapper.bullet span.badge-category-bg {
|
||||
// Top of bullet aligns with top of line - adjust line height to vertically align bullet.
|
||||
line-height: 0.8;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue