mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-22 18:32:45 +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:
parent
9fca6c558b
commit
2f991bf70b
@ -59,7 +59,7 @@ iframe {
|
||||
border: 0;
|
||||
flex-grow: 1;
|
||||
margin: 0;
|
||||
min-height: 800px;
|
||||
min-height: 600px;
|
||||
padding: 0;
|
||||
}
|
||||
#unsavedWarning {
|
||||
|
@ -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);
|
||||
|
@ -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 ) {
|
||||
|
Loading…
Reference in New Issue
Block a user