fix twitchy modal close
This commit is contained in:
parent
8a799c5742
commit
49c14f1446
4 changed files with 36 additions and 33 deletions
|
@ -44,11 +44,11 @@ const IconButton = ({ Icon, onClick, dflt = true, title, hide = false, extraClas
|
|||
)
|
||||
|
||||
const smZoomClasses =
|
||||
'[.mobile-menubar_&]:btn [.mobile-menubar_&]:btn-secondary [.mobile-menubar_&]:btn-circle'
|
||||
'[.mobile-menubar_&]:btn [.mobile-menubar_&]:btn-secondary [.mobile-menubar_&]:btn-circle [.mobile-menubar_&]:my-2'
|
||||
const ZoomButtons = ({ t, zoomFunctions, zoomed }) => {
|
||||
if (!zoomFunctions) return null
|
||||
return (
|
||||
<div className="flex flex-col lg:flex-row items-center lg:content-center gap-4">
|
||||
<div className="flex flex-col lg:flex-row items-center lg:content-center lg:gap-4">
|
||||
<IconButton
|
||||
Icon={ClearIcon}
|
||||
onClick={zoomFunctions.reset}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue