From a2ad55bbfaa3b8938ae536b57ac727634f71b9ac Mon Sep 17 00:00:00 2001 From: "pawel.gaca" Date: Wed, 19 Nov 2025 13:57:00 +0100 Subject: [PATCH] =?UTF-8?q?Drugie=20zdj=C4=99cie=20na=20hover=20-=20wy?= =?UTF-8?q?=C5=82=C4=85czenie=20funkcjonalno=C5=9Bci=20na=20mobile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ramka.txt | 10 +--------- style.less | 18 ++++++++++++------ 2 files changed, 13 insertions(+), 15 deletions(-) diff --git a/ramka.txt b/ramka.txt index c075c70..14d8532 100644 --- a/ramka.txt +++ b/ramka.txt @@ -5,7 +5,6 @@ - zakres cen????????????? - Wybór kolorystyczny??? - AAAAA - banner na hotspocie -- podmiana zdjęcia na hover - stary szablon - cena za kg - blokowanie dodawania do koszyka jeśli ilość jest maksymalna @@ -18,11 +17,4 @@ Stara ramka - getProductXML=t -- slick - - - -cos: any[] = [] - -cos ?? '' -cos?? false \ No newline at end of file +- slick \ No newline at end of file diff --git a/style.less b/style.less index 9a0868a..ee9f010 100644 --- a/style.less +++ b/style.less @@ -211,13 +211,19 @@ .product__image.--second{ opacity: 0; } - - &.--toggle-icon:has(.product__image.--second){ - .product__image.--first{ - opacity: 0; - } + @media (max-width: 978px){ .product__image.--second{ - opacity: 1; + display: none!important; + } + } + @media (min-width: 979px){ + &.--toggle-icon:has(.product__image.--second){ + .product__image.--first{ + opacity: 0; + } + .product__image.--second{ + opacity: 1; + } } } }