Files
ladybird/Tests/LibWeb/Layout/input/flex/text-input-stretches-in-column-flex.html
Shannon Booth 482e5e770f LibWeb: Let flexbox stretch auto-width text inputs
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.
2026-04-13 09:57:01 +02:00

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>