Skip to content

Commit

Permalink
fix: fix navbar size in the image modal
Browse files Browse the repository at this point in the history
  • Loading branch information
jeangovil committed Jun 21, 2023
1 parent 4a0ada2 commit 964bf92
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
position: fixed;
top: 0;
left: 0;
width: 100vw;
width: 100%;
height: 100%;
background: transparent;
z-index: 203;
Expand Down Expand Up @@ -91,4 +91,8 @@
.wrapper > div {
overflow: visible !important;
}

.nav {
height: 56px;
}
}

0 comments on commit 964bf92

Please sign in to comment.