Fix some word wrapping issues on the first line of definitions (#1027)

This commit is contained in:
toasted-nutbread 2020-11-13 21:11:29 -05:00 committed by GitHub
parent d0f364bad8
commit 3ee385b319
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -413,11 +413,11 @@ button.action-button {
} }
.term-expression-list { .term-expression-list {
display: inline-block; display: inline;
} }
.term-expression { .term-expression {
display: inline-block; display: inline;
} }
.term-expression-text { .term-expression-text {
@ -437,17 +437,10 @@ button.action-button {
display: none; display: none;
} }
.term-expression-list>.term-expression:not(:last-of-type):after { .term-expression-list>.term-expression:not(:last-of-type)>.term-expression-text::after {
font-size: 2em;
content: "\3001"; content: "\3001";
} }
.entry[data-expression-multi=true] .term-expression-list>.term-expression:last-of-type:after {
font-size: 2em;
content: "\3000";
visibility: hidden;
}
.entry[data-expression-multi=true] .term-expression-list .term-expression-details { .entry[data-expression-multi=true] .term-expression-list .term-expression-details {
display: inline-block; display: inline-block;
position: relative; position: relative;
@ -457,6 +450,10 @@ button.action-button {
z-index: 1; z-index: 1;
} }
.entry[data-expression-multi=true] .term-expression-list>.term-expression:not(:last-of-type) .term-expression-details {
left: -2em;
}
.entry[data-expression-multi=true] .term-expression:hover .term-expression-details { .entry[data-expression-multi=true] .term-expression:hover .term-expression-details {
visibility: visible; visibility: visible;
} }