correctly displaying add sense, translation source and explanation

This commit is contained in:
Ozbolt Menegatti 2019-11-15 22:24:54 +01:00
parent f0f95b16c0
commit 4a80ba878a

View File

@ -65,6 +65,7 @@
.sense { .sense {
margin-left: 2em; margin-left: 2em;
overflow: auto; // contain all elements, some sort of clear: both for me
.sense-definition { .sense-definition {
//done! //done!
@ -114,6 +115,20 @@
color: @maroon; color: @maroon;
.translation-element-margin(); .translation-element-margin();
} }
.translation-source {
vertical-align: super;
font-size: 0.7em;
}
.translation-explanation:not(:empty) {
font-style: italic;
&:before {
content: '[';
}
&:after {
content: ']';
}
}
._hoverable(); ._hoverable();
} }
@ -133,10 +148,18 @@
.example-arrow, .example-dot { .example-arrow, .example-dot {
margin-right: 1em; margin-right: 1em;
} }
.example-text {
._hoverable();
}
} }
} }
} }
.add-button {
padding: 0 .5em;
}
// if span left of input it is just too high, this is a fix // if span left of input it is just too high, this is a fix
.span-left-of-input { .span-left-of-input {
margin-top: 0.3em; margin-top: 0.3em;