1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-09-14 23:12:28 +02:00

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:
Raymond Hill 2018-12-28 12:56:56 -05:00
parent c78fa16e5b
commit 4e2a8a0ce0
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2

View File

@ -282,11 +282,18 @@ body[dir="rtl"] #tooltip {
text-overflow: ellipsis;
width: calc(100% - 4em);
}
#firewallContainer > div.isDomain > span.isIDN:first-of-type > sup::before {
#firewallContainer > div > span:first-of-type > sup {
color: #666;
content: '\0416\2002';
display: none;
font-size: 80%;
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) {
display: none;