Skip to content

Commit

Permalink
[FIX] l10n_br_pos_nfce: fix print receipt page
Browse files Browse the repository at this point in the history
  • Loading branch information
DiegoParadeda committed Nov 14, 2024
1 parent e13a44a commit 9970371
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions l10n_br_pos_nfce/static/src/css/ReceiptOrder.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@
background-color: white;
}

.pos .pos-receipt-container-nfce > div {
text-align: left;
width: 500px;
display: inline-block;
}

.nfceSeparator {
border-style: dotted;
}
Expand Down Expand Up @@ -109,3 +115,40 @@
.itemsTitle {
font-size: 16px !important;
}

@media print {
body {
background: white;
}
body * {
visibility: hidden;
height: 0 !important;
}
.pos,
.pos * {
position: static !important;
}
.pos .receipt-screen .pos-receipt-container-nfce {
position: absolute !important;
top: 0;
left: 0;
flex: 0 1 500px !important ;
overflow: auto;
background-color: white;
}
.pos .receipt-screen .pos-receipt-container-nfce,
.pos .receipt-screen .pos-receipt-container-nfce * {
visibility: visible;
background: white !important;
color: black !important;
height: auto !important;
}
.pos .pos-receipt-container-nfce .pos-receipt {
margin: 0 !important;
margin-left: auto !important;
margin-right: auto !important;
border: none !important;
font-size: 14px !important;
width: 500px !important;
}
}

0 comments on commit 9970371

Please sign in to comment.