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

feat: Stretch File Input to full width to match other inputs #1752

Merged
merged 1 commit into from
Nov 15, 2024

Conversation

VincentSmedinga
Copy link
Contributor

@VincentSmedinga VincentSmedinga commented Nov 14, 2024

Describe the pull request

Thank you for contributing to the project!
Please use this template to help us handle your PR smoothly.

What

It lets File Input take up all available width.

Why

Because all comparable inputs (Text Input, Password Input, Text Area, Select, Search Field) do so. And because not doing so has been filed as an issue.

How

Replaced max-inline-size with inline-size and added border box sizing to let sizing work with padding.

@VincentSmedinga VincentSmedinga changed the title feat: Make File Input 100% wide like all inputs feat: Stretch File Input to full width, like other inputs Nov 14, 2024
@VincentSmedinga VincentSmedinga changed the title feat: Stretch File Input to full width, like other inputs feat: Stretch File Input to full width to match other inputs Nov 14, 2024
@VincentSmedinga VincentSmedinga merged commit eeea7b6 into develop Nov 15, 2024
9 checks passed
@VincentSmedinga VincentSmedinga deleted the feature/DES-1065-file-input-width branch November 15, 2024 11:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants