Skip to content

Commit f54d1c8

Browse files
committed
Merge PR #3570 into 18.0
Signed-off-by legalsylvain
2 parents 2a0652e + f99f49b commit f54d1c8

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

web_theme_classic/static/src/scss/web_theme_classic.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,10 @@ body.classic-theme {
100100
/* Prevent having double border for monetary fields */
101101
span.o_input:has(~ input.o_input) {
102102
border: $input-border-width solid transparent !important;
103+
/* The overlay sits on top of the real input; keep it
104+
transparent so the required-field background is not applied
105+
twice (which renders as a darker band over the value). */
106+
background-color: transparent !important;
103107
}
104108

105109
/* Keep the monetary symbol away from the border when it is outside the border */
@@ -174,6 +178,7 @@ body.classic-theme {
174178
// Handle monetary fields in list
175179
&.o_field_monetary span.o_input:has(~ input.o_input) {
176180
border: $input-border-width solid transparent !important;
181+
background-color: transparent !important;
177182
}
178183
}
179184
}

0 commit comments

Comments
 (0)