Fix button text's vertical alignment in WebView

This commit is contained in:
redphx 2024-05-18 17:52:35 +07:00
parent c7dfacf5c4
commit 0f5c4f004b

View File

@ -71,9 +71,10 @@
span {
display: inline-block;
height: calc(var(--bx-button-height) - 2px);
height: var(--bx-button-height);
line-height: var(--bx-button-height);
vertical-align: middle;
vertical-align: -webkit-baseline-middle;
color: #fff;
overflow: hidden;
white-space: nowrap;