diff --git a/src/components/lab/LabImage/index.tsx b/src/components/lab/LabImage/index.tsx index f6ad69ee..5ba6a85d 100644 --- a/src/components/lab/LabImage/index.tsx +++ b/src/components/lab/LabImage/index.tsx @@ -16,6 +16,8 @@ import { PRESETS } from '~/constants/urls'; import SwiperClass from 'swiper/types/swiper-class'; import { useGotoNode } from '~/utils/hooks/node/useGotoNode'; import { Placeholder } from '~/components/placeholders/Placeholder'; +import { normalizeBrightColor } from '~/utils/color'; +import { ImagePreloader } from '~/components/media/ImagePreloader'; SwiperCore.use([Navigation, Pagination, A11y]); @@ -79,12 +81,12 @@ const LabImage: FC = ({ node, isLoading }) => { > {images.map(file => ( - {node.title} ))} diff --git a/src/components/lab/LabImage/styles.module.scss b/src/components/lab/LabImage/styles.module.scss index 876d4da6..b2458972 100644 --- a/src/components/lab/LabImage/styles.module.scss +++ b/src/components/lab/LabImage/styles.module.scss @@ -1,11 +1,12 @@ @import "~/styles/variables.scss"; .wrapper { - border-radius: $radius; display: flex; align-items: center; justify-content: center; min-width: 0; + border-radius: $radius $radius 0 0; + overflow: hidden; :global(.swiper-container) { width: 100%;