From bd7c17560fbff9f1c90c8d1879cbc40238582d30 Mon Sep 17 00:00:00 2001 From: Lang <7system7@gmail.com> Date: Thu, 23 Feb 2023 11:47:47 +0100 Subject: [PATCH] chg: usr: SWC-89 remove the image from the header and add bigger image to PDP gallery --- .../dist/storefront/js/etail-conference-theme.js | 2 +- src/Resources/app/storefront/src/scss/base.scss | 6 +++++- .../views/storefront/layout/header/header.html.twig | 8 ++++---- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/src/Resources/app/storefront/dist/storefront/js/etail-conference-theme.js b/src/Resources/app/storefront/dist/storefront/js/etail-conference-theme.js index beee361..eb67b88 100644 --- a/src/Resources/app/storefront/dist/storefront/js/etail-conference-theme.js +++ b/src/Resources/app/storefront/dist/storefront/js/etail-conference-theme.js @@ -1 +1 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([["etail-conference-theme"],{AZcZ:function(n,e,o){(function(n){n((function(){setTimeout((function(){n(".shopware-overlay").addClass("fade-out"),n(".header-main, .footer-main, .content-main").removeClass("d-none"),setTimeout((function(){n(".shopware-overlay").addClass("d-none")}),500)}),500),n(".card.product-box").each((function(){n(this).find(".btn").append(n(this).find(".product-price"))}))}))}).call(this,o("UoTJ"))}},[["AZcZ","runtime","vendor-node"]]]); \ No newline at end of file +(window.webpackJsonp=window.webpackJsonp||[]).push([["etail-conference-theme"],{AZcZ:function(e,n,t){(function(e){e((function(){setTimeout((function(){e(".shopware-overlay").addClass("fade-out"),e(".header-main, .footer-main, .content-main").removeClass("d-none"),setTimeout((function(){e(".shopware-overlay").addClass("d-none")}),500)}),500),e(".card.product-box").each((function(){e(this).find(".btn").append(e(this).find(".product-price"))}))}));var n,t,o=(n=document.documentElement,t=n.clientHeight,function(e,o){var i,a=[];for(e&&"resize"===e.type&&(t=n.clientHeight),i=o.elements.length;i--;)if(!a.includes(i)){var d=o.elements[i],r=d.getBoundingClientRect(),s=(r.top/t*100+r.bottom/t*100)/2,c=s>o.zone[1]&&s<100-o.zone[1];d.classList.toggle(o.markedClass,c),c&&a.push(d)}});function i(e){o(e,{elements:document.querySelectorAll("div.product-image-wrapper"),markedClass:"highlight--1",zone:[20,20]}),o(e,{elements:document.querySelectorAll("div.product-image-wrapper"),markedClass:"highlight--2",zone:[40,40]})}window.addEventListener("scroll",i),window.addEventListener("resize",i)}).call(this,t("UoTJ"))}},[["AZcZ","runtime","vendor-node"]]]); \ No newline at end of file diff --git a/src/Resources/app/storefront/src/scss/base.scss b/src/Resources/app/storefront/src/scss/base.scss index 3b5c127..3bf8b7e 100644 --- a/src/Resources/app/storefront/src/scss/base.scss +++ b/src/Resources/app/storefront/src/scss/base.scss @@ -109,7 +109,7 @@ header { display: flex; align-items: center; justify-content: center; - text-align: right; + text-align: center; margin: 1.5em 0; @media screen and (max-width: 500px) { @@ -175,6 +175,10 @@ header { } } +.gallery-slider-image { + width: 100%; +} + /** basket offcanvas */ .offcanvas-cart { diff --git a/src/Resources/views/storefront/layout/header/header.html.twig b/src/Resources/views/storefront/layout/header/header.html.twig index 6832663..f6dec19 100644 --- a/src/Resources/views/storefront/layout/header/header.html.twig +++ b/src/Resources/views/storefront/layout/header/header.html.twig @@ -20,10 +20,10 @@

Shopware ecommerce platform

Build the exceptional

-
- Shopware phone -
+{#
#} +{# Shopware phone#} +{#
#} {% endif %}