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:
parent
09d7e960cc
commit
57f3ad1c75
|
@ -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>
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue