fix(plating): stop charge/tax pickers collapsing in order summary
The right-aligned value column squeezed the Additional Charge and Tax dropdowns to a sliver. Move each picker into the (wider) label column, stacked under its label at full width, so every value cell is now a single amount that lines up cleanly in the right column under the vertical divider. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -537,20 +537,31 @@
|
||||
color: $xpr-text;
|
||||
border-bottom: 1px solid $xpr-border-table; // horizontal divider per row
|
||||
|
||||
// col 1 — label, carrying the vertical column divider on its right edge
|
||||
// col 1 — label (+ optional inline picker), carrying the
|
||||
// vertical column divider on its right edge
|
||||
.o_fp_xpr_total_label {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-direction: column;
|
||||
justify-content: flex-start;
|
||||
gap: 5px;
|
||||
padding: 8px 14px;
|
||||
border-right: 1px solid $xpr-border-table;
|
||||
color: $xpr-text-muted;
|
||||
font-weight: 500;
|
||||
|
||||
// charge-type / tax pickers sit under the label text and
|
||||
// fill the column width so the dropdown never collapses
|
||||
.o_field_widget {
|
||||
width: 100%;
|
||||
font-weight: 400;
|
||||
}
|
||||
}
|
||||
|
||||
// col 2 — value, right-aligned so amounts line up in a column
|
||||
// col 2 — value amount, top-aligned with the label text and
|
||||
// right-aligned so every amount lines up in one column
|
||||
> :not(.o_fp_xpr_total_label) {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
align-items: flex-start;
|
||||
justify-content: flex-end;
|
||||
gap: 8px;
|
||||
padding: 8px 14px;
|
||||
|
||||
Reference in New Issue
Block a user