Polish the printed rough power balance

The printed page kept the dark app background in the page margins, the
consumer column wrapped while the empty remark column took the space, an
empty "bearbeitet von" label was printed, and numbers were printed as
typed (11200). Print margins are white now, the consumer column is wider,
empty editors are omitted and numbers print with thousands separators
(11.200) like the template.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Grovy311 2026-09-26 18:00:57 +02:00
parent 72189d23a5
commit 7b2419b347
3 changed files with 42 additions and 3 deletions

View file

@ -2018,10 +2018,36 @@ button.structure-entry-main:focus-visible {
display: none !important;
}
body:has(.estimate-print-root) {
html:has(.estimate-print-root),
body:has(.estimate-print-root),
body:has(.estimate-print-root) .app-shell,
body:has(.estimate-print-root) .app-shell-content {
background: #fff !important;
}
/* Der Dunkelmodus setzt color-scheme: dark; Chrome färbt damit auch den
Seitenrand dunkel. Im Druck gilt immer das helle Schema. */
html:has(.estimate-print-root) {
color-scheme: light !important;
}
.estimate-print-root .estimate-group-editor.is-empty {
display: none;
}
/* Verbraucher bekommt den Platz; Anmerkungen bleiben schmal. */
.estimate-sheet .estimate-col-name {
width: 52mm;
}
.estimate-sheet .estimate-col-remark {
width: 24mm;
}
.estimate-sheet .estimate-col-supply {
width: 13mm;
}
body:has(.estimate-print-root) .app-shell {
display: block;
}