CSR-1551 set focus state to eliminate outline on button

click. Update margin on error to avoid pushing button partially off of page.
This commit is contained in:
Bryan Mauger 2023-07-19 10:06:49 -04:00
parent 68c3a2b8f3
commit 8a3fc2457d

View file

@ -450,7 +450,7 @@ export default {
monthsAfterToLoadOffset (number), monthsAfterToLoadOffset (number),
hideSecondMonth (boolean), hideSecondMonth (boolean),
preSelectedDate (string) preSelectedDate (string)
data used: data used:
todayDate (date object) todayDate (date object)
this.hideSomeDaysForInitialView (string) this.hideSomeDaysForInitialView (string)
@ -946,6 +946,9 @@ export default {
font-weight: 500; font-weight: 500;
text-underline-offset: 4px; text-underline-offset: 4px;
flex-grow: 0; flex-grow: 0;
&:focus {
box-shadow: none;
}
} }
.past { .past {
@ -1019,7 +1022,7 @@ export default {
} }
.form-test-error { .form-test-error {
margin: 0 auto 2rem auto; margin: 0 auto;
max-width: 414px; max-width: 414px;
text-align: left; text-align: left;
} }