seitime-frappe/frappe/public/scss/print.bundle.scss
Rahul Agrawal 899f2bc592
fix: print <ol> numbering (#33036)
* fix: print ol numbering

* fix: update comment

---------

Co-authored-by: Rahul Agrawal <deathstarconsole@Rahuls-MacBook-Air.local>
2025-06-21 15:12:36 +05:30

57 lines
1 KiB
SCSS

@import "./desk/variables";
@import "frappe/public/css/bootstrap.css";
@import "./common/quill";
@import "~bootstrap/scss/utilities/spacing";
@import "./desk/css_variables";
@import "./element/checkbox";
// !! PDF Barcode hack !!
// Workaround for rendering barcodes prior to https://github.com/frappe/frappe/pull/15307
@media print {
svg[data-barcode-value] > rect {
fill: white !important;
}
svg[data-barcode-value] > g {
fill: black !important;
}
.print-hide {
display: none !important;
}
.overflow-wrap-anywhere {
* {
word-break: break-all;
}
}
}
.action-banner {
display: flex;
justify-content: flex-end;
padding-right: 20px;
font-size: var(--text-md);
}
.invalid-state {
display: grid;
place-content: center;
height: 100vh;
img {
margin: auto;
}
}
.overflow-wrap-anywhere {
* {
overflow-wrap: anywhere;
}
}
/* prevent newline and right alignment of number fields in printed report filters */
.filter-row div {
display: inline-block;
}
// prevent <ol> numbering conflicts
.ql-editor {
counter-reset: none;
}