fix(fusion_claims): service-booking wizard scrolls + responsive + padded fields
Reported on the live wizard: no scroll on small screens, not responsive, fields look unpadded. - .o_service_booking: min-height:100% -> height:100% so the root is capped to the action area and overflow:auto scrolls INTERNALLY (min-height let it grow to content height, so the clipping action container never scrolled). - input/select/textarea.f: padding 10px 12px !important + line-height 1.4 so Odoo's backend input normalisation can't strip the field padding. - add a <=560px media query collapsing the .two/.three sub-grids, wrapping the time picker, and tightening margins (the main .grid already collapses at 780px). - bump version 19.0.9.4.0 -> 19.0.9.5.0 (asset cache-bust). Also harden scripts/verify_service_booking.sh: force-compile web.assets_backend + web.assets_web_dark on the clone after tests, so a broken SCSS fails the deploy gate BEFORE prod (a bad stylesheet would break the whole backend bundle; -u does not compile assets — Odoo compiles them lazily). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -16,7 +16,10 @@
|
||||
color: var(--sb-text);
|
||||
font-family: 'Inter', 'Helvetica Neue', Helvetica, Arial, system-ui, sans-serif;
|
||||
font-size: 14px;
|
||||
min-height: 100%;
|
||||
// Fill the action area and scroll INTERNALLY. min-height let the root grow
|
||||
// to its content height so the (clipping) action container never scrolled;
|
||||
// height:100% caps it so overflow:auto engages on small screens.
|
||||
height: 100%;
|
||||
overflow: auto;
|
||||
|
||||
* { box-sizing: border-box; }
|
||||
@@ -65,6 +68,14 @@
|
||||
.body { padding: 20px 24px 6px; }
|
||||
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
|
||||
@media (max-width: 780px) { .grid { grid-template-columns: 1fr; } }
|
||||
@media (max-width: 560px) {
|
||||
.wrap { margin: 12px auto; padding: 0 10px; }
|
||||
.body { padding: 14px 16px 4px; }
|
||||
.topbar { padding: 14px 16px; }
|
||||
.foot { padding: 14px 16px; flex-wrap: wrap; }
|
||||
.two, .three { grid-template-columns: 1fr; }
|
||||
.timepick { flex-wrap: wrap; }
|
||||
}
|
||||
|
||||
.card {
|
||||
background: var(--sb-card);
|
||||
@@ -109,8 +120,11 @@
|
||||
color: var(--sb-text);
|
||||
border: 1px solid var(--sb-field-border);
|
||||
border-radius: 9px;
|
||||
padding: 9px 11px;
|
||||
// !important so Odoo's backend input normalisation can't strip the
|
||||
// field padding inside a client action.
|
||||
padding: 10px 12px !important;
|
||||
font-size: 13.5px;
|
||||
line-height: 1.4;
|
||||
font-family: inherit;
|
||||
outline: none;
|
||||
transition: border .15s, box-shadow .15s;
|
||||
|
||||
Reference in New Issue
Block a user