Adds some padding around lightbox zooming
This commit is contained in:
parent
3eff5b73d2
commit
bcf1640587
2 changed files with 15 additions and 9 deletions
|
@ -489,7 +489,9 @@ export function Lightbox({
|
|||
return root
|
||||
? createPortal(
|
||||
<div
|
||||
className="Lightbox Lightbox__container"
|
||||
className={classNames('Lightbox Lightbox__container', {
|
||||
'Lightbox__container--zoom': zoomType === ZoomType.ZoomAndPan,
|
||||
})}
|
||||
onClick={(event: React.MouseEvent<HTMLDivElement>) => {
|
||||
event.stopPropagation();
|
||||
event.preventDefault();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue