1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 12:56:41 +07:00

fixed paddings

This commit is contained in:
Fedor Katurov 2020-04-21 17:20:32 +07:00
parent 650e62cfa1
commit e1991453a1
3 changed files with 5 additions and 6 deletions

View file

@ -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 - 175);
setMaxHeight(window.innerHeight - 152);
normalizeOffset();
}, [wrap, setMaxHeight, normalizeOffset]);