mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 20:59:16 +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:
parent
0bf82f748f
commit
99fbd33d7d
Notes:
sideshowbarker
2024-07-17 08:25:15 +09:00
Author: https://github.com/tcl3
Commit: 99fbd33d7d
Pull-request: https://github.com/SerenityOS/serenity/pull/22972
3 changed files with 26 additions and 0 deletions
|
@ -0,0 +1,6 @@
|
|||
<!DOCTYPE html><style>
|
||||
button {
|
||||
min-height: 100px;
|
||||
}
|
||||
</style><body><button>Middle-aligned text</button>
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue