Merge pull request #596 from webstudio-is/592-font-family-button-changes-size

Don't let an input/button grow beyond the layout constraint
This commit is contained in:
Oleg Isonen authored and GitHub committed 2022-12-11 17:09:58 +00:00
commit 7232fe2f9b
1 file changed
+1
@@ -148,6 +148,7 @@ const TextFieldBase = styled("div", {
fontSize: "$fontSize$3",
height: 28, // @todo waiting for the sizing scale
lineHeight: 1,
minWidth: 0,
"&:focus-within": {
boxShadow:
"inset 0px 0px 0px 1px $colors$blue10, 0px 0px 0px 1px $colors$blue10",