Fix darkmode in walkthrough popover (#343)

* Fix darkmode in walkthrough popover

* Fix invalid DOM property `class`

---------

Co-authored-by: ekzyis <ek@stacker.news>
This commit is contained in:
ekzyis 2023-07-05 22:07:18 +02:00 committed by GitHub
parent 09d7e960cc
commit 57f3ad1c75
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 2 deletions

View File

@ -53,7 +53,7 @@ const TipPopover = ({ target, show, handleClose }) => (
>
<Popover id='popover-basic'>
<Popover.Title className='d-flex justify-content-between alert-dismissible' as='h3'>Press and hold
<button type='button' class='close' onClick={handleClose}><span aria-hidden='true'>×</span><span class='sr-only'>Close alert</span></button>
<button type='button' className='close' onClick={handleClose}><span aria-hidden='true'>×</span><span className='sr-only'>Close alert</span></button>
</Popover.Title>
<Popover.Content>
<div className='mb-2'>Press and hold bolt to zap a custom amount.</div>

View File

@ -628,6 +628,10 @@ div[contenteditable]:focus,
.popover {
.popover-header {
color: #212529;
background-color: var(--theme-body);
color: var(--theme-color);
}
.popover-body {
color: var(--theme-color);
}
}