[FIX] stock_picking_batch_custom: fix CSS specificity for quantity font-size in operator view
The general tbody tr.o_data_row td rule had higher specificity (0,3,2) than td[name="quantity"] (0,2,1), overriding the 1.5rem font-size. Fixed by using tbody tr.o_data_row td[name="quantity"] (0,3,3) for the size/weight override. Also fixed table. prefix on all selectors: arch class lands on the controller root div, not the <table> element. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
483c4ad5a7
commit
f5ba2d786c
1 changed files with 16 additions and 11 deletions
|
|
@ -9,43 +9,48 @@ table.o_list_table tbody tr.o_data_row:hover td {
|
|||
}
|
||||
|
||||
/* Widen the quantity column in detailed operations so it is easier to tap */
|
||||
table.o_batch_move_line_list th[data-name="quantity"],
|
||||
table.o_batch_move_line_list td[name="quantity"] {
|
||||
/* Note: arch class lands on the root <div> of the list controller, not <table> */
|
||||
.o_batch_move_line_list th[data-name="quantity"],
|
||||
.o_batch_move_line_list td[name="quantity"] {
|
||||
min-width: 140px;
|
||||
}
|
||||
|
||||
table.o_batch_move_line_list td[name="quantity"] .o_field_widget input {
|
||||
.o_batch_move_line_list td[name="quantity"] .o_field_widget input {
|
||||
min-height: 44px;
|
||||
font-size: 1.1rem;
|
||||
}
|
||||
|
||||
/* ── Operator view: full-screen, touch-optimised list ── */
|
||||
table.o_batch_operator_list tbody tr.o_data_row td {
|
||||
.o_batch_operator_list tbody tr.o_data_row td {
|
||||
padding-top: 10px;
|
||||
padding-bottom: 10px;
|
||||
font-size: 1.05rem;
|
||||
}
|
||||
|
||||
table.o_batch_operator_list th[data-name="quantity"],
|
||||
table.o_batch_operator_list td[name="quantity"] {
|
||||
.o_batch_operator_list th[data-name="quantity"],
|
||||
.o_batch_operator_list td[name="quantity"] {
|
||||
min-width: 130px;
|
||||
font-size: 1.5rem;
|
||||
font-weight: 700;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
table.o_batch_operator_list td[name="quantity"] .o_field_widget input {
|
||||
/* Higher specificity to override the general row td font-size rule */
|
||||
.o_batch_operator_list tbody tr.o_data_row td[name="quantity"] {
|
||||
font-size: 1.5rem;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.o_batch_operator_list td[name="quantity"] .o_field_widget input {
|
||||
min-height: 56px;
|
||||
font-size: 1.5rem;
|
||||
font-weight: 700;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
table.o_batch_operator_list td[name="is_collected"] {
|
||||
.o_batch_operator_list td[name="is_collected"] {
|
||||
min-width: 80px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
table.o_batch_operator_list td[name="is_collected"] .o_field_widget {
|
||||
.o_batch_operator_list td[name="is_collected"] .o_field_widget {
|
||||
transform: scale(1.4);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue