1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-11-26 12:22:50 +01:00

[mv3] Fix various minor quirks

Related issue:
- https://github.com/uBlockOrigin/uBOL-issues/issues/46

Also, patch Unicode flags in popup panel.
This commit is contained in:
Raymond Hill 2023-06-14 09:06:13 -04:00
parent 9fca6c558b
commit 2f991bf70b
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2
3 changed files with 3 additions and 4 deletions

View File

@ -59,7 +59,7 @@ iframe {
border: 0;
flex-grow: 1;
margin: 0;
min-height: 800px;
min-height: 600px;
padding: 0;
}
#unsavedWarning {

View File

@ -131,7 +131,6 @@ body.needReload #refresh {
font-size: 1em;
font-weight: normal;
margin: 0.5em 0 0.25em 0;
text-transform: capitalize;
}
#rulesetStats .rulesetDetails p {
color: var(--ink-2);

View File

@ -33,7 +33,7 @@ import {
} from './ext.js';
import { dom, qs$ } from './dom.js';
import { i18n$ } from './i18n.js';
import { i18n, i18n$ } from './i18n.js';
import punycode from './punycode.js';
/******************************************************************************/
@ -306,7 +306,7 @@ async function init() {
const parent = qs$('#rulesetStats');
for ( const details of popupPanelData.rulesetDetails || [] ) {
const div = dom.clone('#templates .rulesetDetails');
dom.text(qs$(div, 'h1'), details.name);
qs$(div, 'h1').append(i18n.patchUnicodeFlags(details.name));
const { rules, filters, css } = details;
let ruleCount = rules.plain + rules.regex;
if ( popupPanelData.hasOmnipotence ) {