antfu-collective / icones

⚡️ Icon Explorer with Instant searching, powered by Iconify
https://icones.js.org
MIT License
4.94k stars 238 forks source link

Hide the toggle buttons of the collapsible drawer #316

Closed kvoon3 closed 1 month ago

kvoon3 commented 1 month ago

Describe the bug

The toggle buttons of the collapsible drawer should be hidden on small screens and when viewing icon details.

  1. When on a small screen, the drawer is hidden, but the toggle buttons still remain.

chrome_hZ90kKbTKE

  1. When viewing icon details, the icon's z-index is too high

chrome_iYobfuLOwG

Reproduction

Icons page under the /collection route at https://icones.js.org/collection.

System Info

System:
  OS: Windows 10 10.0.19044
  CPU: (12) x64 AMD Ryzen 5 5600G with Radeon Graphics          
  Memory: 526.64 MB / 13.90 GB
Binaries:
  Node: 20.12.2 - C:\Program Files\nodejs\node.EXE
  npm: 10.5.0 - C:\Program Files\nodejs\npm.CMD
  pnpm: 8.10.2 - C:\workspaceS\icones\node_modules\.bin\pnpm.CMD
Browsers:
  Edge: Chromium (123.0.2420.97)
  Internet Explorer: 11.0.19041.3636

Used Package Manager

pnpm

Validations

Contributions