mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-21 23:50:06 +00:00
This behavior is part of the cyclic percentage contribution logic from CSS-SIZING-3 which explicitly only applies to non-replaced boxes. This fixes an issue on Discord where buttons in the settings UI were cropped to a narrower width than intended. Fixes #3572
15 lines
No EOL
352 B
HTML
15 lines
No EOL
352 B
HTML
<!doctype html><style>
|
|
* { outline: 1px solid black !important; }
|
|
body {
|
|
display: flex;
|
|
width: min-content;
|
|
height: 30px;
|
|
}
|
|
.wrapper {
|
|
min-width: 60px;
|
|
width: 100%;
|
|
}
|
|
.children {
|
|
white-space: nowrap;
|
|
}
|
|
</style><body><div class="wrapper"><div class="children">Edit User Profile |