IE11-specific style tweaks

This commit is contained in:
Rainer Simon 2020-09-06 08:52:44 +02:00
parent 095da4cc7a
commit fd4fb6cdb1
2 changed files with 40 additions and 24 deletions

View File

@ -32,6 +32,7 @@ const TagWidget = props => {
return (
<div className="r6o-widget tag">
<div>
{ tagBodies.length > 0 &&
<ul className="r6o-taglist">
{ tagBodies.map(tag =>
@ -51,6 +52,7 @@ const TagWidget = props => {
)}
</ul>
}
</div>
{ !props.readOnly &&
<Autocomplete

View File

@ -2,6 +2,20 @@
display:none;
}
/* IE11-specific hackery */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
.r6o-widget.tag .r6o-taglist li {
height:27px;
.delete-wrapper .delete {
position:relative;
top:-4px;
}
}
}
.r6o-widget.tag {
background-color:$blueish-white;
border-bottom:1px solid $lightgrey-border;