mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 12:56:41 +07:00
fixed node header paddings
This commit is contained in:
parent
db7c076b96
commit
f683fbe1dc
2 changed files with 3 additions and 4 deletions
|
@ -166,7 +166,7 @@ const NodeImageSlideBlock: FC<IProps> = ({
|
|||
if (!wrap.current) return;
|
||||
const { width } = wrap.current.getBoundingClientRect();
|
||||
// setMaxHeight(width * NODE_SETTINGS.MAX_IMAGE_ASPECT);
|
||||
setMaxHeight(window.innerHeight - 152);
|
||||
setMaxHeight(window.innerHeight - 143);
|
||||
normalizeOffset();
|
||||
}, [wrap, setMaxHeight, normalizeOffset]);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue