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

input add min-inline-size:0; #39872

Open
3 tasks done
ZhangChengLin opened this issue Apr 6, 2024 · 0 comments
Open
3 tasks done

input add min-inline-size:0; #39872

ZhangChengLin opened this issue Apr 6, 2024 · 0 comments

Comments

@ZhangChengLin
Copy link
Contributor

Prerequisites

Describe the issue

Related content

-webkit-fill-available No relevant information was found, but it does exist and is available in chrome.

chrome V123.0.6312.106

https://developer.mozilla.org/en-US/docs/Web/CSS/min-inline-size

https://caniuse.com/?search=fill-available


When there is a lot of horizontal content, the input will occupy a width of about 200px by default, which may be related to -webkit-fill-available or min-inline-size.

Specifically, look at the test example below. You can try to adjust the width of the browser to below the critical value to see if the changes are as expected.

Desired to do, add preset values for all inputs.
I understand that this has no impact on the current input class and there is no need to change it, but it is good to draw attention to it anyway.

input { min-inline-size:0; }

Reduced test cases

https://codepen.io/zhangchenglin/pen/wvZyNeY?editors=1000

What operating system(s) are you seeing the problem on?

Windows

What browser(s) are you seeing the problem on?

Chrome

What version of Bootstrap are you using?

123.0.6312.106

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

No branches or pull requests

2 participants