Commit ecbbeb56 authored by Ray Schamp's avatar Ray Schamp

Set common y-origin for validation bubbles

I believe this will keep the misalignment from happening across browsers. Sets the top left corner to the top left corner of the input block.

Resolves #770
parent 27a7b98a
...@@ -25,8 +25,9 @@ ...@@ -25,8 +25,9 @@
$arrow-border-width: 1rem; $arrow-border-width: 1rem;
display: block; display: block;
position: absolute; position: absolute;
top: 0;
left: 0; left: 0;
transform: translate(20rem, -4rem); transform: translate(16rem, 0);
margin-left: $arrow-border-width; margin-left: $arrow-border-width;
border: 1px solid $active-gray; border: 1px solid $active-gray;
border-radius: 5px; border-radius: 5px;
...@@ -58,15 +59,7 @@ ...@@ -58,15 +59,7 @@
} }
} }
.checkbox-row,
.textarea-row {
.validation-message {
transform: translate(20rem, 0);
}
}
.form { .form {
position: relative;
padding: 3rem 4rem; padding: 3rem 4rem;
.card-button { .card-button {
...@@ -81,6 +74,10 @@ ...@@ -81,6 +74,10 @@
border: 1px solid $ui-orange; border: 1px solid $ui-orange;
} }
} }
.col-sm-9 {
position: relative;
}
} }
} }
} }
......
...@@ -80,7 +80,7 @@ ...@@ -80,7 +80,7 @@
&.organization-step { &.organization-step {
.checkbox-group { .checkbox-group {
.validation-message { .validation-message {
transform: translate(20rem, -16rem); transform: translate(16rem, -16rem);
} }
} }
...@@ -95,14 +95,6 @@ ...@@ -95,14 +95,6 @@
} }
} }
&.address-step {
.select {
.validation-message {
transform: translate(20rem, .5rem);
}
}
}
&.usescratch-step { &.usescratch-step {
.form { .form {
.form-group { .form-group {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment