From d7e07f45900f4d2e9b48b919be74934fc934918f Mon Sep 17 00:00:00 2001 From: planctus Date: Fri, 20 Dec 2024 11:03:18 +0200 Subject: [PATCH] fix(mega-menu): Hiding in print css - FRONT-4704 --- .../vanilla/components/mega-menu/mega-menu-print.scss | 8 ++++++++ src/presets/ec/src/ec-print.scss | 1 + src/presets/eu/src/eu-print.scss | 1 + 3 files changed, 10 insertions(+) create mode 100644 src/implementations/vanilla/components/mega-menu/mega-menu-print.scss diff --git a/src/implementations/vanilla/components/mega-menu/mega-menu-print.scss b/src/implementations/vanilla/components/mega-menu/mega-menu-print.scss new file mode 100644 index 0000000000..f13669afa1 --- /dev/null +++ b/src/implementations/vanilla/components/mega-menu/mega-menu-print.scss @@ -0,0 +1,8 @@ +/* + * Mega Menu print + * @define megaMenu + */ + +.ecl-mega-menu { + display: none; +} diff --git a/src/presets/ec/src/ec-print.scss b/src/presets/ec/src/ec-print.scss index db156e602c..9317630cd2 100644 --- a/src/presets/ec/src/ec-print.scss +++ b/src/presets/ec/src/ec-print.scss @@ -160,6 +160,7 @@ @use '@ecl/vanilla-component-menu/menu-print' with ( $theme: theme.$theme ); +@use '@ecl/vanilla-component-mega-menu/mega-menu-print'; @use '@ecl/vanilla-component-site-footer/site-footer-print'; @use '@ecl/vanilla-component-site-header/site-header-print' with ( $theme: theme.$theme diff --git a/src/presets/eu/src/eu-print.scss b/src/presets/eu/src/eu-print.scss index 491d95a78a..5692e18997 100644 --- a/src/presets/eu/src/eu-print.scss +++ b/src/presets/eu/src/eu-print.scss @@ -160,6 +160,7 @@ @use '@ecl/vanilla-component-menu/menu-print' with ( $theme: theme.$theme ); +@use '@ecl/vanilla-component-mega-menu/mega-menu-print'; @use '@ecl/vanilla-component-site-footer/site-footer-print'; @use '@ecl/vanilla-component-site-header/site-header-print' with ( $theme: theme.$theme