Skip to content

Commit 3b57ba2

Browse files
authored
Merge pull request #954 from OutSystems/ROU-4248
ROU-4248: Fix validation messages position
2 parents 858e2a6 + cf64c71 commit 3b57ba2

File tree

1 file changed

+14
-5
lines changed

1 file changed

+14
-5
lines changed

src/scss/03-widgets/_form.scss

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
///
77
.form {
88
&.OSFillParent {
9-
.form-control[class*='ThemeGrid_Width'].not-valid + span.validation-message {
9+
.form-control[class*='ThemeGrid_Width'].not-valid ~ span.validation-message {
1010
left: 22px;
1111
}
1212
}
@@ -40,10 +40,6 @@
4040
& + span.validation-message {
4141
left: 0;
4242
}
43-
44-
&.ThemeGrid_MarginGutter + span.validation-message {
45-
left: 22px;
46-
}
4743
}
4844
}
4945

@@ -120,3 +116,16 @@ span.validation-message {
120116
left: 0;
121117
}
122118
}
119+
120+
// IsRTL -------------------------------------------------------------------------
121+
///
122+
.is-rtl {
123+
form {
124+
&.OSFillParent {
125+
.form-control[class*='ThemeGrid_Width'].not-valid ~ span.validation-message {
126+
left: initial;
127+
right: 22px;
128+
}
129+
}
130+
}
131+
}

0 commit comments

Comments
 (0)