This commit is contained in:
seb
2026-10-05 01:01:03 +02:00
parent 81b59fd309
commit b766769634
59 changed files with 903 additions and 280 deletions

View File

@@ -15,6 +15,11 @@ import ViewSidebarIcon from '@mui/icons-material/ViewSidebar';
import { enqueueSnackbar } from 'notistack';
import { PanelTile } from 'dashgui/panels';
import { delivery as deliveryApi } from '../../api';
import {
SURFACE_BASE,
SURFACE_WASH,
WHITE,
} from '../../colors';
/**
* Inline PDF viewer rendered as a panel tile, mirroring TextEditorPanel's
@@ -125,7 +130,7 @@ export class PdfViewerPanel extends PureComponent {
<PanelTile
wide={wide}
minHeight={320}
color="#f8fafc"
color={SURFACE_BASE}
sx={{ height, minHeight: 320 }}
>
<Box
@@ -205,7 +210,7 @@ export class PdfViewerPanel extends PureComponent {
border: '1px solid',
borderColor: 'divider',
borderRadius: 1,
bgcolor: '#ffffff',
bgcolor: WHITE,
overflow: 'hidden',
}}
>
@@ -217,7 +222,7 @@ export class PdfViewerPanel extends PureComponent {
display: 'flex',
alignItems: 'center',
justifyContent: 'center',
bgcolor: 'rgba(248, 250, 252, 0.7)',
bgcolor: SURFACE_WASH,
zIndex: 2,
}}
>