admin/logs: country flags will scale with text size

Massimo Melina committed Jul 1, 2026 at 00:35 UTC 64e3ac95c7ef421ade3c1cac15553efc778a3110
2 files changed +2 -2
admin/src/index.scss
+1 -1
@@ -105,4 +105,4 @@ h2.MuiDialogTitle-root { /* less padding */
105 // adjust prism black theme
106 .token.operator { background: unset !important; }
107
108 -.fflag { width: 26px; height: 17px; vertical-align: bottom; border: none; }
108 +.fflag { width: 1.7em; height: 1.1em; vertical-align: bottom; border: none; }
admin/src/mui.ts
+1 -1
@@ -339,7 +339,7 @@ export function Country({ code, ip, def, long, short }: { code: string, ip?: str
339 h(Box as any, {
340 className: `fflag fflag-${code.toUpperCase()}`,
341 component: 'span',
342 - sx: { mr: 1, verticalAlign: 'text-bottom' },
342 + sx: { mr: '.5em', verticalAlign: 'text-bottom' },
343 }),
344 long ? country.name + prefix(' (', short && code, ')') : code
345 ) )