0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-03-10 22:22:45 -05:00

fix: text input block

This commit is contained in:
wangsijie 2022-04-06 17:36:21 +08:00
parent e1921d0ab5
commit 734de70c38
No known key found for this signature in database
GPG key ID: C72642FE24F7D42B

View file

@ -31,6 +31,9 @@
color: var(--color-component-text);
font: var(--font-body-medium);
padding: 0;
// Our font size and line height pair (14px/20px) will cause a "blank top space" in inline display.
// need to set display to block to keep the whole input box height to 36px.
display: block;
&::placeholder {
color: var(--color-component-caption);