1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 14:47:44 +00:00

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
parent 0bf82f748f
commit 99fbd33d7d
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>