7.css icon indicating copy to clipboard operation
7.css copied to clipboard

Apply button styles to file selector button

Open lfuelling opened this issue 1 year ago • 2 comments

Hi,

this PR applies the existing button styles to the file selector button and adds a documentation section about that:

Screenshot of the documentation pages showing the styled file input.

The ::file-selector-button selector is supported by all major browsers.

Thanks

lfuelling avatar Dec 19 '24 15:12 lfuelling

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
7css ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 4, 2025 10:32am

vercel[bot] avatar Dec 19 '24 15:12 vercel[bot]

Hi, this was open a long time as well, sorry again.

I separated the styles for the file selector, and the other buttons are now usable again, but I'm unable to get the file selector button to work like a proper button (the click and hover states don't work properly).

I'd still be in favor for this being merged, a somewhat styled file selector button is better than an unstyled file selector button imo.

lfuelling avatar May 04 '25 10:05 lfuelling

Hey @lfuelling, sorry, I totally missed this! Will have a look and merge it in soon if no issues.

khang-nd avatar Jul 06 '25 08:07 khang-nd