Merge pull request #154 from Safelite/bugfix/CSR-302

CSR-302: fix styles and make sure loader is set to be enabled
This commit is contained in:
AdamCaouetteSafelite 2022-01-19 15:49:32 -05:00 committed by GitHub
commit 6198666ded
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 1 deletions

View file

@ -12,6 +12,7 @@
:buttonID="answer" :buttonID="answer"
@mouseup="chooseAnswer(answer)" @mouseup="chooseAnswer(answer)"
@keyup.space="chooseAnswer(answer)" @keyup.space="chooseAnswer(answer)"
:loaderEnabled="true"
loaderColor="blue" loaderColor="blue"
loaderPosition="right" loaderPosition="right"
sizeInRem="1.5" sizeInRem="1.5"
@ -52,6 +53,7 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
.button_question { .button_question {
color: $black;
height: calc(100vh - 280px); height: calc(100vh - 280px);
.overflow-scroll { .overflow-scroll {

View file

@ -12,6 +12,8 @@
box-shadow: 0 0 0 2px $blue; box-shadow: 0 0 0 2px $blue;
} }
&:checked + label { &:checked + label {
color: $black;
font-weight: 500;
background: $blue-100; background: $blue-100;
box-shadow: 0 0 0 1px $blue; box-shadow: 0 0 0 1px $blue;
} }
@ -20,6 +22,7 @@
} }
} }
label { label {
color: $gray-600;
position: relative; position: relative;
background: $white; background: $white;
transition: all 150ms linear; transition: all 150ms linear;

View file

@ -106,7 +106,7 @@ export default {
&.list-button { &.list-button {
input[type="radio"], input[type="radio"],
input[type="checkbox"] { input[type="checkbox"] {
position: static !important; //override bootstrap position: static; //override bootstrap
height: 0; height: 0;
} }
} }