Set radio buttons to align top per Rachel.
This commit is contained in:
parent
ab23fe5fe7
commit
495019b471
3 changed files with 4 additions and 2 deletions
|
|
@ -79,7 +79,7 @@ export default {
|
||||||
.demo-animate {
|
.demo-animate {
|
||||||
&:hover {
|
&:hover {
|
||||||
+ .show-hide {
|
+ .show-hide {
|
||||||
max-height: 100px;
|
max-height: 140px;
|
||||||
transition: max-height 0.35s ease-in;
|
transition: max-height 0.35s ease-in;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -59,6 +59,7 @@ export default {
|
||||||
background: white;
|
background: white;
|
||||||
border: 1px solid $gray-500;
|
border: 1px solid $gray-500;
|
||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
|
flex-shrink: 0;
|
||||||
}
|
}
|
||||||
&:checked + label::before {
|
&:checked + label::before {
|
||||||
background: $blue;
|
background: $blue;
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@
|
||||||
:v-model="checkValue"
|
:v-model="checkValue"
|
||||||
@change="handleCheckChanged"
|
@change="handleCheckChanged"
|
||||||
/>
|
/>
|
||||||
<label class="d-flex align-items-center radio-label" :for="buttonID">
|
<label class="d-flex align-items-start radio-label" :for="buttonID">
|
||||||
<p v-if="buttonLabel" class="m-0">{{ buttonLabel }}</p>
|
<p v-if="buttonLabel" class="m-0">{{ buttonLabel }}</p>
|
||||||
<span v-if="screenReaderOnlyText" class="sr-only">{{
|
<span v-if="screenReaderOnlyText" class="sr-only">{{
|
||||||
screenReaderOnlyText
|
screenReaderOnlyText
|
||||||
|
|
@ -101,6 +101,7 @@ export default {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
transition: all 250ms ease;
|
transition: all 250ms ease;
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
|
top: .25rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
&:checked {
|
&:checked {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue