This commit is contained in:
gsinghpal
2026-05-27 10:36:48 -04:00
parent c876767755
commit de6336ba42
3 changed files with 49 additions and 0 deletions

View File

@@ -165,6 +165,31 @@
.o_fp_xpr_cell.span-2 { grid-column: span 2; }
.o_fp_xpr_cell.row-span-2 { grid-row: span 2; }
.o_fp_xpr_cell.row-span-4 { grid-row: span 4; }
.o_fp_xpr_cell.row-span-6 { grid-row: span 6; }
// Cells with a toggle-style field — label sits inline with the
// toggle instead of stacked above. Used by Blanket Sales Order
// (matches the mockup's compact toggle row). Toggle anchored
// next to the label so layout doesn't shift when the secondary
// "Block partial" toggle appears.
.o_fp_xpr_cell.o_fp_xpr_inline_label {
flex-direction: row;
align-items: center;
gap: 10px;
min-height: 32px;
> label {
margin-bottom: 0;
white-space: nowrap;
flex: 0 0 auto;
}
> .o_fp_xpr_inline_pair {
flex: 0 0 auto;
display: flex;
align-items: center;
gap: 10px;
}
}
.o_fp_xpr_cell.required > label::after {
content: " *";
color: $xpr-bad;