Browse Source

Add proper formatting for spoiler/nsfw sub-tags

merge-requests/55/head
deing 6 years ago
committed by Deimos
parent
commit
827062be25
  1. 4
      tildes/scss/modules/_label.scss
  2. 4
      tildes/scss/themes/_theme_base.scss

4
tildes/scss/modules/_label.scss

@ -18,7 +18,7 @@
max-width: 100%;
}
.label-topic-tag-nsfw,
.label-topic-tag-spoiler {
.label-topic-tag[class*='label-topic-tag-nsfw'],
.label-topic-tag[class*='label-topic-tag-spoiler'] {
font-weight: bold;
}

4
tildes/scss/themes/_theme_base.scss

@ -291,11 +291,11 @@
}
}
.label-topic-tag-nsfw {
.label-topic-tag[class*='label-topic-tag-nsfw'] {
@include theme-special-label(map-get($theme, "topic-tag-nsfw"), $is-light);
}
.label-topic-tag-spoiler {
.label-topic-tag[class*='label-topic-tag-spoiler'] {
@include theme-special-label(map-get($theme, "topic-tag-spoiler"), $is-light);
}

Loading…
Cancel
Save