mirror of https://github.com/gorhill/uBlock.git
Fix vertical centering of hostnames in dynamic filtering pane
Related issue: - https://github.com/uBlockOrigin/uBlock-issues/issues/358 Additionally, use `display: none;` to unburden the browser renderer from taking into account the `sup` element since most of the time it is unused.
This commit is contained in:
parent
c78fa16e5b
commit
4e2a8a0ce0
|
@ -282,11 +282,18 @@ body[dir="rtl"] #tooltip {
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
width: calc(100% - 4em);
|
width: calc(100% - 4em);
|
||||||
}
|
}
|
||||||
#firewallContainer > div.isDomain > span.isIDN:first-of-type > sup::before {
|
#firewallContainer > div > span:first-of-type > sup {
|
||||||
color: #666;
|
color: #666;
|
||||||
content: '\0416\2002';
|
display: none;
|
||||||
font-size: 80%;
|
font-size: 80%;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
|
line-height: 1;
|
||||||
|
}
|
||||||
|
#firewallContainer > div.isDomain > span.isIDN:first-of-type > sup {
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
|
#firewallContainer > div.isDomain > span.isIDN:first-of-type > sup::before {
|
||||||
|
content: '\0416\2002';
|
||||||
}
|
}
|
||||||
#firewallContainer > div > span:nth-of-type(2) {
|
#firewallContainer > div > span:nth-of-type(2) {
|
||||||
display: none;
|
display: none;
|
||||||
|
|
Loading…
Reference in New Issue