mirror of
https://github.com/Tria-plc/emaui.git
synced 2026-09-01 18:13:28 +00:00
Initial End to End functionality
This commit is contained in:
@@ -4,3 +4,51 @@
|
||||
@tailwind utilities;
|
||||
|
||||
*, *::before, *::after { box-sizing: border-box; }
|
||||
|
||||
/* ---------------------------------------------------------------------------
|
||||
Print — the review dossier.
|
||||
|
||||
An officer printing a review wants the application, not the application
|
||||
plus the chrome around it. Navigation, the Decision Bar and the collapsible
|
||||
rails are all interactive surfaces with no meaning on paper, so they are
|
||||
dropped and the centre column is given the full width.
|
||||
--------------------------------------------------------------------------- */
|
||||
@media print {
|
||||
.mantine-AppShell-navbar,
|
||||
.mantine-AppShell-header,
|
||||
[role='region'][aria-label='Decision bar'],
|
||||
.mantine-Drawer-root,
|
||||
.mantine-Modal-root {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.mantine-AppShell-main {
|
||||
padding: 0 !important;
|
||||
}
|
||||
|
||||
/* Tabs print flattened: a printed dossier that shows one tab's worth of a
|
||||
six-tab application is missing five sixths of the record. */
|
||||
.mantine-Tabs-panel {
|
||||
display: block !important;
|
||||
}
|
||||
.mantine-Tabs-list {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
/* Sticky positioning collapses badly across page breaks. */
|
||||
[style*='position: sticky'],
|
||||
[style*='position:sticky'] {
|
||||
position: static !important;
|
||||
}
|
||||
|
||||
/* Keep a record entry from being split across two sheets. */
|
||||
.mantine-Paper-root,
|
||||
.mantine-Card-root,
|
||||
.mantine-Table-tr {
|
||||
break-inside: avoid;
|
||||
}
|
||||
|
||||
body {
|
||||
background: #fff !important;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user