Skip to content

Commit

Permalink
Merge pull request #954 from OutSystems/ROU-4248
Browse files Browse the repository at this point in the history
ROU-4248: Fix validation messages position
  • Loading branch information
joselrio authored Jun 7, 2024
2 parents 858e2a6 + cf64c71 commit 3b57ba2
Showing 1 changed file with 14 additions and 5 deletions.
19 changes: 14 additions & 5 deletions src/scss/03-widgets/_form.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
///
.form {
&.OSFillParent {
.form-control[class*='ThemeGrid_Width'].not-valid + span.validation-message {
.form-control[class*='ThemeGrid_Width'].not-valid ~ span.validation-message {
left: 22px;
}
}
Expand Down Expand Up @@ -40,10 +40,6 @@
& + span.validation-message {
left: 0;
}

&.ThemeGrid_MarginGutter + span.validation-message {
left: 22px;
}
}
}

Expand Down Expand Up @@ -120,3 +116,16 @@ span.validation-message {
left: 0;
}
}

// IsRTL -------------------------------------------------------------------------
///
.is-rtl {
form {
&.OSFillParent {
.form-control[class*='ThemeGrid_Width'].not-valid ~ span.validation-message {
left: initial;
right: 22px;
}
}
}
}

0 comments on commit 3b57ba2

Please sign in to comment.