Skip to content

Commit

Permalink
🫥 Hide command icon on smaller screens
Browse files Browse the repository at this point in the history
  • Loading branch information
luxonauta committed Dec 10, 2024
1 parent 164a2f4 commit 58662fc
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/components/header/commandMenu/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,14 @@
color: var(--color);
}
}

@media (max-width: 60rem) {
.icon {
&.cmdk {
display: none;
}
}
}
}

[cmdk-overlay] {
Expand Down Expand Up @@ -221,7 +229,8 @@
from {
opacity: 0;
}

to {
opacity: 1;
}
}
}

0 comments on commit 58662fc

Please sign in to comment.