Fix remnants of visible text in collapsed rows

Related feedback:
- https://github.com/uBlockOrigin/uBlock-issues/discussions/2632#discussioncomment-6517792
This commit is contained in:
Raymond Hill 2023-07-24 07:40:10 -04:00
parent fa489fdb87
commit fdb6dc2cc2
No known key found for this signature in database
GPG key ID: 25E1490B761470C2

View file

@ -430,12 +430,24 @@ body.needSave #revertRules {
#firewall.hideBlocked > div:not([data-des="*"]).is3p.blocked,
#firewall.hideAllowed > div:not([data-des="*"]).is3p.totalAllowed,
#firewall.hideAllowed > div:not([data-des="*"]).is3p.allowed {
color: transparent;
max-height: 4px;
overflow-y: hidden;
pointer-events: none;
user-select: none;
}
#firewall.show3pScript:not(.show3pFrame) > div:not([data-des="*"]).is3p:not(.hasScript) *,
#firewall.show3pFrame:not(.show3pScript) > div:not([data-des="*"]).is3p:not(.hasFrame) *,
#firewall.show3pScript.show3pFrame > div:not([data-des="*"]).is3p:not(.hasScript):not(.hasFrame) *,
#firewall.hide3pScript > div:not([data-des="*"]).is3p.hasScript *,
#firewall.hide3pFrame > div:not([data-des="*"]).is3p.hasFrame *,
#firewall.showBlocked > div:not([data-des="*"]).is3p:not(.totalBlocked):not(.blocked) *,
#firewall.showAllowed > div:not([data-des="*"]).is3p:not(.totalAllowed):not(.allowed) *,
#firewall.hideBlocked > div:not([data-des="*"]).is3p.totalBlocked *,
#firewall.hideBlocked > div:not([data-des="*"]).is3p.blocked *,
#firewall.hideAllowed > div:not([data-des="*"]).is3p.totalAllowed *,
#firewall.hideAllowed > div:not([data-des="*"]).is3p.allowed * {
color: transparent !important;
}
#firewall > div.isCname > span:first-of-type {
color: var(--popup-cell-cname-ink);
}