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