Skip to content

Commit 2f991bf

Browse files
committed
[mv3] Fix various minor quirks
Related issue: - uBlockOrigin/uBOL-home#46 Also, patch Unicode flags in popup panel.
1 parent 9fca6c5 commit 2f991bf

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

platform/mv3/extension/css/dashboard.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ iframe {
5959
border: 0;
6060
flex-grow: 1;
6161
margin: 0;
62-
min-height: 800px;
62+
min-height: 600px;
6363
padding: 0;
6464
}
6565
#unsavedWarning {

platform/mv3/extension/css/popup.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,6 @@ body.needReload #refresh {
131131
font-size: 1em;
132132
font-weight: normal;
133133
margin: 0.5em 0 0.25em 0;
134-
text-transform: capitalize;
135134
}
136135
#rulesetStats .rulesetDetails p {
137136
color: var(--ink-2);

platform/mv3/extension/js/popup.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ import {
3333
} from './ext.js';
3434

3535
import { dom, qs$ } from './dom.js';
36-
import { i18n$ } from './i18n.js';
36+
import { i18n, i18n$ } from './i18n.js';
3737
import punycode from './punycode.js';
3838

3939
/******************************************************************************/
@@ -306,7 +306,7 @@ async function init() {
306306
const parent = qs$('#rulesetStats');
307307
for ( const details of popupPanelData.rulesetDetails || [] ) {
308308
const div = dom.clone('#templates .rulesetDetails');
309-
dom.text(qs$(div, 'h1'), details.name);
309+
qs$(div, 'h1').append(i18n.patchUnicodeFlags(details.name));
310310
const { rules, filters, css } = details;
311311
let ruleCount = rules.plain + rules.regex;
312312
if ( popupPanelData.hasOmnipotence ) {

0 commit comments

Comments
 (0)