Skip to content

Open source website builder and Webflow alternative. Webstudio is an advanced visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.

align with figma select trigger size and text-field vertical spacing

Oleg Isonenee3eaa579b54
diff --git a/packages/design-system/src/components/select.tsx b/packages/design-system/src/components/select.tsx
index 675aae9e7b..d406542376 100644
--- a/packages/design-system/src/components/select.tsx
+++ b/packages/design-system/src/components/select.tsx
@@ -17,7 +17,7 @@ const StyledTrigger = styled(SelectPrimitive.SelectTrigger, {
backgroundColor: "$loContrast",
color: "$hiContrast",
boxShadow: "inset 0 0 0 1px $colors$slate7",
- height: 28, // @todo waiting for the sizing scale
+ height: "$5",
px: "$2",
fontSize: "$1",
"&:hover": {
diff --git a/packages/design-system/src/components/text-field.tsx b/packages/design-system/src/components/text-field.tsx
index 265d39b09a..22690a5ecb 100644
--- a/packages/design-system/src/components/text-field.tsx
+++ b/packages/design-system/src/components/text-field.tsx
@@ -68,7 +68,6 @@ const TextFieldBase = styled("div", {
// Custom
display: "flex",
backgroundColor: "$loContrast",
- py: 1, // value of insert boxShadow
boxShadow: "inset 0 0 0 1px $colors$slate7",
color: "$hiContrast",
fontVariantNumeric: "tabular-nums",