From 5158f892591e1ba2f05d53bc95179a3c23b91987 Mon Sep 17 00:00:00 2001 From: Nikita Date: Sat, 20 Apr 2024 22:38:44 +0300 Subject: [PATCH] Update popup-fancybox.scss --- assets/css/popup-fancybox.scss | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/assets/css/popup-fancybox.scss b/assets/css/popup-fancybox.scss index 35dbf11c..19b73ea6 100644 --- a/assets/css/popup-fancybox.scss +++ b/assets/css/popup-fancybox.scss @@ -53,21 +53,15 @@ } .fancybox-thumbs__list a { - width: var(--vp-popup--thumbnails__size); - max-width: calc(100% - 4px); - height: calc(var(--vp-popup--thumbnails__size) / calc(var(--vp-popup--thumbnails__aspect-ratio))); + width: calc(100% - 4px); + max-width: none; + height: auto; + max-height: none; + aspect-ratio: var(--vp-popup--thumbnails__aspect-ratio); &::before { border: 2px solid var(--vp-popup--thumbnails--items__border-color); } - - @supports (aspect-ratio: 16 / 9) { - width: calc(100% - 4px); - max-width: none; - height: auto; - max-height: none; - aspect-ratio: var(--vp-popup--thumbnails__aspect-ratio); - } } .fancybox-thumbs-y .fancybox-thumbs__list {