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.

select padding/radius update

Sultan93718f6a6911
diff --git a/packages/design-system/src/components/combobox.tsx b/packages/design-system/src/components/combobox.tsx
index c3aa22d7f9..eefafb8a6f 100644
--- a/packages/design-system/src/components/combobox.tsx
+++ b/packages/design-system/src/components/combobox.tsx
@@ -25,8 +25,7 @@ import { Box } from "./box";
import { Grid } from "./grid";
const Listbox = styled("ul", panelStyles, {
- py: "$1",
- px: 0,
+ p: "$1",
margin: 0,
overflow: "auto",
// @todo need some non-hardcoded value
@@ -50,6 +49,7 @@ const Listbox = styled("ul", panelStyles, {
const ListboxItem = styled("li", itemCss, {
padding: "0 $2",
margin: 0,
+ borderRadius: "$1",
});
const ListboxItemBase: ForwardRefRenderFunction<
diff --git a/packages/design-system/src/components/select.tsx b/packages/design-system/src/components/select.tsx
index b9ffe30f20..aa463e4564 100644
--- a/packages/design-system/src/components/select.tsx
+++ b/packages/design-system/src/components/select.tsx
@@ -61,7 +61,7 @@ export const SelectContent = styled(SelectPrimitive.Content, {
});
export const SelectViewport = styled(SelectPrimitive.Viewport, {
- py: "$1",
+ p: "$1",
});
const StyledItem = styled(SelectPrimitive.Item, {
@@ -75,6 +75,7 @@ const StyledItem = styled(SelectPrimitive.Item, {
padding: "0 $2",
position: "relative",
userSelect: "none",
+ borderRadius: "$1",
"&[data-disabled]": {
color: "$muted",