new funcionality
This commit is contained in:
29
resources/scss/base/_print.scss
Normal file
29
resources/scss/base/_print.scss
Normal file
@@ -0,0 +1,29 @@
|
||||
@page {
|
||||
margin: 15mm;
|
||||
}
|
||||
|
||||
@media print {
|
||||
.no-print {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
// Fuerza tema claro al imprimir (el oscuro desperdicia tinta y el
|
||||
// navegador ya arranca la impresión con .dark sacado del <html>, pero
|
||||
// esto cubre navegadores que no respeten ese cambio a tiempo).
|
||||
:root {
|
||||
color-scheme: light;
|
||||
}
|
||||
|
||||
body {
|
||||
background: #fff !important;
|
||||
color: #000 !important;
|
||||
}
|
||||
|
||||
.card,
|
||||
.table-card,
|
||||
.stat-tile,
|
||||
table,
|
||||
tr {
|
||||
break-inside: avoid;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user