Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Max-width limits the card to expand #2566

Closed
5 of 15 tasks
chessurisme opened this issue Oct 30, 2024 · 0 comments
Closed
5 of 15 tasks

Max-width limits the card to expand #2566

chessurisme opened this issue Oct 30, 2024 · 0 comments
Labels
🐛 bug Something isn't working 🌍 site Has to do something with the Lucide website

Comments

@chessurisme
Copy link
Contributor

Browser

  • Chrome/Chromium
  • Firefox
  • Safari
  • Edge
  • iOS Safari
  • Opera
  • Other/not relevant

Operating system

  • Windows
  • Linux
  • macOS
  • ChromeOS
  • iOS
  • Android
  • Other/not relevant

Description

Initially, the "Style as you please" card' elements looks a uncentered. A small tweak can be made for it to fix.

Suggestion how to fix

The max-width made the card's element limits its width. Removing the max-width using @media rule when the screen width is below 640px solves the problem.

See the developer console as the max-width is present:
BEFORE:
image
AFTER:
image

Steps to reproduce

  1. Open Lucide site in any browser.
  2. If in PC, minimize the browser's width until the site looks like in phone.
  3. Scroll until section "Style as you please".
  4. Look how the elements arranged.
    image

Checklist

  • I have searched if someone has submitted a similar issue before and there weren't any. (Please make sure to also search closed issues, as this issue might already have been resolved.)
@chessurisme chessurisme added 🌍 site Has to do something with the Lucide website 🐛 bug Something isn't working labels Oct 30, 2024
epifaniofrancisco added a commit to epifaniofrancisco/lucide that referenced this issue Nov 12, 2024
epifaniofrancisco added a commit to epifaniofrancisco/lucide that referenced this issue Nov 12, 2024
realguse pushed a commit to realguse/lucide that referenced this issue Dec 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working 🌍 site Has to do something with the Lucide website
Projects
None yet
Development

No branches or pull requests

2 participants
@chessurisme and others