fix: fix navbar size in the image modal

This commit is contained in:
Hossein Mehrabi
2023-06-21 18:12:25 +03:30
parent 4a0ada207d
commit 964bf92263
2 changed files with 8 additions and 2 deletions
@@ -100,7 +100,9 @@ export const LightBoxProvider: React.FC<React.PropsWithChildren<{}>> = ({
className={clsx(styles.backdrop, active && styles.visible)}
></div>
<div className={clsx(styles.navWrapper, active && styles.visible)}>
<nav className={clsx(styles.nav, active && styles.visible)}>
<nav
className={clsx(styles.nav, 'navbar', active && styles.visible)}
>
<NavbarLogo />
<IconButton size="medium" onClick={close}>
<IconFullscreenExit />
@@ -16,7 +16,7 @@
position: fixed;
top: 0;
left: 0;
width: 100vw;
width: 100%;
height: 100%;
background: transparent;
z-index: 203;
@@ -91,4 +91,8 @@
.wrapper > div {
overflow: visible !important;
}
.nav {
height: 56px;
}
}