revert: drop fp_direct_order_wizard.scss — :has() approach broke the modal

Reverting the previous wizard-width attempt. The
`.modal-dialog:has(.o_fp_direct_order_wizard)` selector combined
with the fixed width override produced broken layout (modal no
longer rendering correctly).

Better path for widening this wizard is still TBD — the built-in
maximize icon in the modal header already lets users go full-
screen as a workaround until a safe width override lands.

fusion_plating_configurator → 19.0.13.5.0

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
gsinghpal
2026-04-23 09:58:56 -04:00
parent 470c44ee5d
commit d9526dc050
3 changed files with 2 additions and 29 deletions

View File

@@ -1,25 +0,0 @@
// Copyright 2026 Nexa Systems Inc.
// License OPL-1 (Odoo Proprietary License v1.0)
// Part of the Fusion Plating product family.
//
// Widen the direct-order wizard modal so the line-items table has
// enough room to render all columns (Part, Primary Treatment,
// Process, Thickness, Serial Number, Qty, Unit Price, Subtotal,
// Part Deadline, WO Group) without truncating headers. The default
// Odoo modal dialog caps at ~992px on desktop which squeezes the
// 10+ columns into ellipsis.
.modal-dialog:has(.o_fp_direct_order_wizard) {
max-width: min(1600px, 95vw);
width: min(1600px, 95vw);
}
.o_fp_direct_order_wizard {
// Give each line-item cell a bit more horizontal breathing room
// so "Primary Treatment" and "Serial Number" stop truncating.
.o_list_table > thead > tr > th,
.o_list_table > tbody > tr > td {
padding-left: 10px;
padding-right: 10px;
}
}