From ab417cc645a65c334ed38ac84d1f71a4ce063d08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ce=CC=81dric=20Andrietti?= Date: Wed, 1 Apr 2026 14:09:21 +0200 Subject: [PATCH] fix the display utility (not import in style) --- src/scss/04-utilities/_display.scss | 9 ++------- src/scss/style.scss | 1 + 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/src/scss/04-utilities/_display.scss b/src/scss/04-utilities/_display.scss index 24e87949..b2f99bff 100644 --- a/src/scss/04-utilities/_display.scss +++ b/src/scss/04-utilities/_display.scss @@ -1,5 +1,4 @@ @use "../02-tools/m-breakpoint" as *; -@use "../02-tools/m-style-only" as *; /** * Display utilities @@ -11,17 +10,13 @@ // Visible only on mobile (below mobile-to-desktop-nav breakpoint) .is-mobile-only { @include breakpoints(mobile-to-desktop-nav) { - @include style-only { - display: none !important; - } + display: none !important; } } // Visible only on desktop (at or above mobile-to-desktop-nav breakpoint) .is-desktop-only { @include breakpoints(mobile-to-desktop-nav, max) { - @include style-only { - display: none !important; - } + display: none !important; } } diff --git a/src/scss/style.scss b/src/scss/style.scss index aa3766cc..486bce0a 100644 --- a/src/scss/style.scss +++ b/src/scss/style.scss @@ -30,6 +30,7 @@ variables.$entry-file-name: "style"; */ @use "04-utilities/wp-admin-bar"; +@use "04-utilities/display"; @use "04-utilities/focus"; @use "04-utilities/lazyload"; @use "04-utilities/seo";