Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 2 additions & 7 deletions src/scss/04-utilities/_display.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
@use "../02-tools/m-breakpoint" as *;
@use "../02-tools/m-style-only" as *;

/**
* Display utilities
Expand All @@ -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;
}
}
1 change: 1 addition & 0 deletions src/scss/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down
Loading