fix: add close modal to keyboard navigation
This commit is contained in:
committed by
mrugesh
parent
1289d35435
commit
6ef9345f92
@ -217,6 +217,11 @@ li.disabled > a {
|
|||||||
font-size: 1.5rem;
|
font-size: 1.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.donation-modal .btn-link:focus {
|
||||||
|
outline-width: 1px;
|
||||||
|
outline-style: solid;
|
||||||
|
}
|
||||||
|
|
||||||
@media screen and (max-width: 991px) {
|
@media screen and (max-width: 991px) {
|
||||||
.donation-icon-container {
|
.donation-icon-container {
|
||||||
margin: 30px;
|
margin: 30px;
|
||||||
|
@ -107,6 +107,7 @@ function DonateModal({ show, block, isBlockDonation, closeDonationModal }) {
|
|||||||
bsStyle='primary'
|
bsStyle='primary'
|
||||||
className='btn-link'
|
className='btn-link'
|
||||||
onClick={closeDonationModal}
|
onClick={closeDonationModal}
|
||||||
|
tabIndex='0'
|
||||||
>
|
>
|
||||||
{closeLabel ? 'Close.' : 'Ask me later.'}
|
{closeLabel ? 'Close.' : 'Ask me later.'}
|
||||||
</Button>
|
</Button>
|
||||||
|
Reference in New Issue
Block a user