admin/fs: better contrast for QR

Massimo Melina committed Jan 2, 2024 at 00:56 UTC 1b7652cef47e89849ca16a180b72a5934eacaf06
1 file changed +1 -1
admin/src/FileForm.ts
+1 -1
@@ -303,10 +303,10 @@ function LinkField({ value, statusApi }: LinkFieldProps) {
303 function showQr() {
304 newDialog({
305 title: "QR Code",
306 + dialogProps: { sx: { bgcolor: 'background.default', border: '1px solid' } },
307 Content() {
308 const theme = useTheme()
309 return h('canvas', {
309 - id: 'qrcode-canvas',
310 ref: (canvas: HTMLCanvasElement) => canvas && generateQRCode(canvas, link, theme.palette.text.primary),
311 style: { width: '100%' },
312 })