Merge pull request #278 from Safelite/CSR-269-styling-fixes

CSR-269 style updates.
This commit is contained in:
bmauger 2022-03-08 10:55:48 -05:00 committed by GitHub
commit 2974667ca4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 35 additions and 23 deletions

View file

@ -8,6 +8,7 @@
@invalid-submit="onInvalidSubmit" @invalid-submit="onInvalidSubmit"
ref="theForm" ref="theForm"
v-slot="{ meta }" v-slot="{ meta }"
class="vehicle-damage-form"
> >
<damageLocationQuestion <damageLocationQuestion
ref="damageLocation" ref="damageLocation"
@ -407,3 +408,11 @@ export default {
}, },
}; };
</script> </script>
<style lang="scss">
.vehicle-damage-form {
display: flex;
flex-direction: column;
height: 100%;
}
</style>

View file

@ -135,6 +135,7 @@ export default {
opacity: 0; opacity: 0;
width: 0; width: 0;
height: 0; height: 0;
position: absolute;
&:focus-visible + label { &:focus-visible + label {
box-shadow: 0 0 0 2px $blue; box-shadow: 0 0 0 2px $blue;
z-index: 2; z-index: 2;

View file

@ -183,6 +183,7 @@ export default {
opacity: 0; opacity: 0;
width: 0; width: 0;
height: 0; height: 0;
position: absolute;
+ label { + label {
display: block; display: block;
@ -262,6 +263,7 @@ export default {
height: 6px; height: 6px;
width: 11px; width: 11px;
transform: rotate(-45deg); transform: rotate(-45deg);
z-index: 1;
} }
} }