Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions web_theme_classic/static/src/scss/web_theme_classic.scss
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,10 @@ body.classic-theme {
/* Prevent having double border for monetary fields */
span.o_input:has(~ input.o_input) {
border: $input-border-width solid transparent !important;
/* The overlay sits on top of the real input; keep it
transparent so the required-field background is not applied
twice (which renders as a darker band over the value). */
background-color: transparent !important;
}

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