Improve style of some tags

This commit is contained in:
toasted-nutbread 2020-02-10 21:38:11 -05:00
parent bbb74d0a48
commit 17181eb97e
2 changed files with 9 additions and 4 deletions

View File

@ -227,8 +227,8 @@ button.action-button {
display: block; display: block;
} }
.tag-list>.tag+.tag { .tag-list>.tag:not(:last-child) {
margin-left: 0.375em; margin-right: 0.375em;
} }
html:root:not([data-enable-search-tags=true]) .tag[data-category=search] { html:root:not([data-enable-search-tags=true]) .tag[data-category=search] {
@ -398,7 +398,7 @@ html:root:not([data-enable-search-tags=true]) .tag[data-category=search] {
:root[data-compact-glossaries=true] .term-definition-tag-list, :root[data-compact-glossaries=true] .term-definition-tag-list,
:root[data-compact-glossaries=true] .term-definition-only-list:not([data-count="0"]) { :root[data-compact-glossaries=true] .term-definition-only-list:not([data-count="0"]) {
display: inline-block; display: inline;
} }
:root[data-compact-glossaries=true] .term-glossary-list { :root[data-compact-glossaries=true] .term-glossary-list {
@ -425,6 +425,11 @@ html:root:not([data-enable-search-tags=true]) .tag[data-category=search] {
white-space: pre-wrap; white-space: pre-wrap;
} }
.term-special-tags>.frequencies {
display: inline;
}
/* /*
* Kanji * Kanji
*/ */

View File

@ -15,7 +15,7 @@
</div> </div>
<div class="term-reasons"></div> <div class="term-reasons"></div>
</div> </div>
<div class="frequencies"></div> <div class="term-special-tags"><div class="frequencies tag-list"></div></div>
</div> </div>
<div class="term-definition-container"><ol class="term-definition-list"></ol></div> <div class="term-definition-container"><ol class="term-definition-list"></ol></div>
<pre class="debug-info"></pre> <pre class="debug-info"></pre>