diff --git a/src/components/node/NodeImageLazy/index.tsx b/src/components/node/NodeImageLazy/index.tsx index 4d785916..0e1d62ab 100644 --- a/src/components/node/NodeImageLazy/index.tsx +++ b/src/components/node/NodeImageLazy/index.tsx @@ -1,10 +1,11 @@ import { FC } from 'react'; +import Image from 'next/future/image'; + import { imagePresets } from '~/constants/urls'; import { IFile } from '~/types'; import { normalizeBrightColor } from '~/utils/color'; import { getURL } from '~/utils/dom'; -import { getFileSrcSet } from '~/utils/srcset'; interface NodeImageLazyProps { className?: string; @@ -34,17 +35,17 @@ const NodeImageLazy: FC = ({ } return ( - ); }; diff --git a/src/components/node/NodeImageSwiperBlock/styles.module.scss b/src/components/node/NodeImageSwiperBlock/styles.module.scss index 4e59a912..e5c9499c 100644 --- a/src/components/node/NodeImageSwiperBlock/styles.module.scss +++ b/src/components/node/NodeImageSwiperBlock/styles.module.scss @@ -117,7 +117,7 @@ } .image { - max-inline-size: calc(100vh - 150px); + max-inline-size: calc(100vh - 160px); writing-mode: vertical-rl; block-size: auto; border-radius: $radius;