fix: update print preview style
This commit is contained in:
parent
65df3f98ed
commit
3cb26bf518
4 changed files with 15 additions and 3 deletions
|
|
@ -1,4 +1,4 @@
|
|||
<div class="form-print-wrapper">
|
||||
<div class="form-print-wrapper frappe-card">
|
||||
<div class="print-toolbar row">
|
||||
<div class="col-xs-3">
|
||||
<div class="flex">
|
||||
|
|
|
|||
|
|
@ -48,6 +48,11 @@
|
|||
--border-color: var(--gray-600);
|
||||
}
|
||||
|
||||
.print-format {
|
||||
--text-color: var(--gray-900);
|
||||
--border-color: var(--gray-100);
|
||||
}
|
||||
|
||||
.ql-editor.read-mode {
|
||||
span, p, u {
|
||||
background-color: inherit !important;
|
||||
|
|
|
|||
|
|
@ -1,12 +1,12 @@
|
|||
.form-print-wrapper {
|
||||
border: 1px solid var(--border-color);
|
||||
border-top: none;
|
||||
@include card($padding: 0);
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.print-preview-wrapper {
|
||||
padding: var(--padding-xl) 0px;
|
||||
background-color: var(--fg-color);
|
||||
background-color: var(--gray-100);
|
||||
}
|
||||
|
||||
.print-toolbar {
|
||||
|
|
@ -25,3 +25,9 @@
|
|||
.print-preview-refresh {
|
||||
margin-left: var(--margin-xs);
|
||||
}
|
||||
|
||||
[data-theme="dark"] {
|
||||
.print-preview-wrapper {
|
||||
background-color: var(--gray-700);
|
||||
}
|
||||
}
|
||||
|
|
@ -11,6 +11,7 @@
|
|||
min-height: 11.69in;
|
||||
padding: 0.75in;
|
||||
margin: auto;
|
||||
color: var(--gray-900);
|
||||
}
|
||||
|
||||
.print-format.landscape {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue