From ac849e5376479ff80eeed9c30840f4c81f757ffa Mon Sep 17 00:00:00 2001 From: kvakazyambra Date: Tue, 23 Jan 2024 01:14:04 +0300 Subject: [PATCH] Lightbox close control style fixes --- .../_shared/Lightbox/Lightbox.module.scss | 18 +++++++++--------- src/components/_shared/Lightbox/Lightbox.tsx | 4 ++-- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/components/_shared/Lightbox/Lightbox.module.scss b/src/components/_shared/Lightbox/Lightbox.module.scss index dd60812e..fe78452e 100644 --- a/src/components/_shared/Lightbox/Lightbox.module.scss +++ b/src/components/_shared/Lightbox/Lightbox.module.scss @@ -23,20 +23,20 @@ border-radius: 100%; position: fixed; z-index: 1001; - top: 20px; - right: 40px; + top: -40px; + right: -40px; font-size: 30px; color: white; cursor: pointer; - width: 36px; - height: 36px; + width: 80px; + height: 80px; .icon { - height: 20px; - left: 50%; - top: 50%; - transform: translate(-50%, -50%); - width: 20px; + bottom: 16px; + height: 15px; + left: 16px; + position: absolute; + width: 15px; } } diff --git a/src/components/_shared/Lightbox/Lightbox.tsx b/src/components/_shared/Lightbox/Lightbox.tsx index aaa2ba9f..a8a9de53 100644 --- a/src/components/_shared/Lightbox/Lightbox.tsx +++ b/src/components/_shared/Lightbox/Lightbox.tsx @@ -153,9 +153,9 @@ export const Lightbox = (props: Props) => {
{`${pictureScalePercentage()}%`}
- +
- +