LibWeb: Make button flex wrapper inherit min-height property

This ensures that the vertical positioning of button text is correct
if a `min-height` property is present.
This commit is contained in:
Tim Ledbetter 2024-01-28 11:39:01 +00:00 committed by Andreas Kling
commit 99fbd33d7d
Notes: sideshowbarker 2024-07-17 08:25:15 +09:00
3 changed files with 26 additions and 0 deletions

View file

@ -0,0 +1,6 @@
<!DOCTYPE html><style>
button {
min-height: 100px;
}
</style><body><button>Middle-aligned text</button>