mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +02:00
Don't rewrite text input 'width: auto' to 'size()ch' in 'HTMLInputElement::adjust_computed_style()'. That turns the control into a definite-width flex item and prevents 'align-items: stretch' from expanding it across the flex container. Fixes the layout of the input element on the element matrix login page.
12 lines
290 B
HTML
12 lines
290 B
HTML
<!doctype html><style>
|
|
.layout-container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.cpd-form-field {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
</style><div class="layout-container"><div class="cpd-form-field"><input type="text"></div></div>
|