mirror of
https://github.com/wavetermdev/docusaurus-og.git
synced 2026-08-05 13:46:35 -07:00
fix: fix navbar size in the image modal
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user