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

Style file inputs with ::file-selector-button/::-webkit-file-upload-button #56

Open
easrng opened this issue Jan 22, 2021 · 1 comment

Comments

@easrng
Copy link

easrng commented Jan 22, 2021

Is your feature request related to a problem? Please describe.
I don't like how the default file inputs and buttons look, marx fixes input buttons and button tags, but not the "Choose File" button.

Describe the solution you'd like
I would like to add input[type=file]::-webkit-file-upload-button, input[type=file]::file-selector-button to the selectors for the button styles.

Describe alternatives you've considered
I am currently using JS to make buttons that .click() the file inputs, but then I have to do more work

Additional context
MDN has docs on this. I would send a PR myself, but it's not clear which files are the source files. Maybe add that to the contributing section?

@jalcine
Copy link

jalcine commented Feb 12, 2022

Looks like these changes would happen at https://github.com/mblode/marx/blob/main/src/_form.css

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants