diff --git a/sf_base/static/src/scss/test.scss b/sf_base/static/src/scss/test.scss index e351acc2..24d638e3 100644 --- a/sf_base/static/src/scss/test.scss +++ b/sf_base/static/src/scss/test.scss @@ -1,15 +1,22 @@ .test_model { display: flex !important; } -.test_model>.o_form_label { + +.test_model > .o_form_label { margin-left: 20px; margin-right: 0px !important; white-space: nowrap; } -.o_form_label.o_field_invalid::after { + +div:has(.o_required_modifier)>label::before { content: '*' !important; color: red !important; padding: 0 4px !important; vertical-align: top !important; font-size: 1.5rem !important; - } \ No newline at end of file + display: inline !important; +} + +.o_required_modifier { + display: flex !important; +} \ No newline at end of file