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.
TypeScript accessibilityalternativecloudflarecloudflare-workersdesignfreefrontendopen-sourceradix-uireactremixweb-developmentwebflowwebsite-builderwebsite-developmentwebsiteswebstudio
fix select styles to be more inline with N-1 figma design update
Sultan1fd290a906cc
diff --git a/apps/designer/app/designer/features/style-panel/controls/select/select-control.tsx b/apps/designer/app/designer/features/style-panel/controls/select/select-control.tsxindex b09942843e..bf42d714e1 100644--- a/apps/designer/app/designer/features/style-panel/controls/select/select-control.tsx+++ b/apps/designer/app/designer/features/style-panel/controls/select/select-control.tsx@@ -24,16 +24,6 @@ export const SelectControl = ({options={styleConfig.items.map(({ label }) => label)}value={String(value.value)}onChange={setValue}- ghost- css={{- gap: "calc($sizes$1 / 2)",- paddingLeft: "calc($sizes$4 / 2)",- height: "calc($sizes$5 + $sizes$1)",- boxShadow: "inset 0 0 0 1px $colors$slate7",- textTransform: "capitalize",- fontWeight: "inherit",- "&:hover": { background: "none" },- }}/>);};diff --git a/apps/designer/app/designer/features/style-panel/sections/layout/layout.tsx b/apps/designer/app/designer/features/style-panel/sections/layout/layout.tsxindex 7529e48ee3..86f2b16310 100644--- a/apps/designer/app/designer/features/style-panel/sections/layout/layout.tsx+++ b/apps/designer/app/designer/features/style-panel/sections/layout/layout.tsx@@ -38,8 +38,8 @@ const LayoutSectionFlex = ({css={{gridArea: "display",gridTemplateColumns: "auto 1fr",- gap: "$space$2",- width: "fit-content",+ gap: "$space$6",+ width: "100%",fontWeight: "500",}}>diff --git a/packages/design-system/src/components/select.tsx b/packages/design-system/src/components/select.tsxindex 02aff00957..b9ffe30f20 100644--- a/packages/design-system/src/components/select.tsx+++ b/packages/design-system/src/components/select.tsx@@ -20,14 +20,14 @@ const StyledTrigger = styled(SelectPrimitive.SelectTrigger, {height: 28, // @todo waiting for the sizing scalepx: "$2",fontSize: "$1",- "&:hover": {- backgroundColor: "$slate6",- },"&:focus": {boxShadow:"inset 0px 0px 0px 1px $colors$blue8, 0px 0px 0px 1px $colors$blue8",},- paddingRight: "$1",+ paddingRight: 0,+ paddingLeft: "$sizes$2",+ textTransform: "capitalize",+ fontWeight: "inherit",variants: {ghost: {@@ -49,7 +49,7 @@ const StyledIcon = styled(SelectPrimitive.Icon, {alignItems: "center",justifyContent: "center",height: "100%",- padding: "calc($space$1 / 2)",+ padding: "2px 2px 2px 0px",});export const SelectContent = styled(SelectPrimitive.Content, {