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

File input: inherit padding to avoid duplicating it for sizes #32060

Closed
wants to merge 1 commit into from

Conversation

ffoodd
Copy link
Member

@ffoodd ffoodd commented Nov 4, 2020

While backporting it to Boosted, I noticed we duplicate padding for ::file-selector-button but it would benefit from inheriting it from its parent input since we wouldn't have to duplicate it for sizes variant.

@ffoodd ffoodd requested a review from a team as a code owner November 4, 2020 11:17
@MartijnCuppens
Copy link
Member

MartijnCuppens commented Nov 4, 2020

Did this at first, but removed this because of incorrect inheriting with validation backgrounds: https://deploy-preview-32060--twbs-bootstrap.netlify.app/docs/5.0/forms/validation/#supported-elements

@MartijnCuppens MartijnCuppens deleted the main-fod-file-input-padding branch November 4, 2020 11:40
@ffoodd
Copy link
Member Author

ffoodd commented Nov 4, 2020

Thanks, didn't spotted that!

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

Successfully merging this pull request may close these issues.

2 participants