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.

touch-up

Sultan2d6567cbd6e4
diff --git a/apps/designer/app/designer/features/style-panel/style-section.tsx b/apps/designer/app/designer/features/style-panel/style-section.tsx
index 9a71552d6a..b387bf7d4b 100644
--- a/apps/designer/app/designer/features/style-panel/style-section.tsx
+++ b/apps/designer/app/designer/features/style-panel/style-section.tsx
@@ -222,7 +222,6 @@ const ComboboxControl = ({
<Combobox
id={styleConfig.property}
items={styleConfig.items}
- variant="ghost"
css={{
// @todo drag&drop cursor to adjust numeric value
// const cursorUrl = data:image/svg+xml;base64,${btoa(svgCursor)}
diff --git a/apps/designer/app/shared/design-system/components/combobox.tsx b/apps/designer/app/shared/design-system/components/combobox.tsx
index b2dfaa0a81..84d8cd98dd 100644
--- a/apps/designer/app/shared/design-system/components/combobox.tsx
+++ b/apps/designer/app/shared/design-system/components/combobox.tsx
@@ -40,7 +40,7 @@ export const Combobox = ({
value={currentValue}
autoComplete="off"
// @todo avoid hardcoding padding
- css={{ ...css, paddingRight: 30 }}
+ css={{ ...css, paddingRight: 30 - 4 }}
onChange={(event) => {
setCurrentValue(event.target.value);
}}
@@ -63,7 +63,11 @@ export const Combobox = ({
variant="ghost"
size="1"
// @todo avoid hardcoding margin
- css={{ marginLeft: -32 }}
+ css={{
+ marginLeft: -32 + 4,
+ height: "$4",
+ width: "$4",
+ }}
onClick={() => {
setIsOpen(true);
}}
diff --git a/apps/designer/app/shared/design-system/components/comboicon.tsx b/apps/designer/app/shared/design-system/components/comboicon.tsx
index 1b7d944f57..5b5b37ce76 100644
--- a/apps/designer/app/shared/design-system/components/comboicon.tsx
+++ b/apps/designer/app/shared/design-system/components/comboicon.tsx
@@ -47,10 +47,9 @@ const StyledItemIndicator = styled(DropdownMenuPrimitive.ItemIndicator, {
});
const StyledArrow = styled(DropdownMenuPrimitive.Arrow, {
- fill: "$colors$gray4",
- // @todo convert to clip-path of it's parent so that the shadow applies
"& *": {
- fill: "transparent",
+ fill: "$colors$gray4",
+ stroke: "$colors$gray8",
},
});
@@ -91,7 +90,7 @@ export const Comboicon = ({ value, items, onChange, icons, css }: any) => {
<IconButton css={css}>{TriggerIcon && <TriggerIcon />}</IconButton>
</DropdownMenuPrimitive.Trigger>
- <StyledContent>
+ <StyledContent sideOffset={4}>
<DropdownMenuPrimitive.RadioGroup
value={value}
onValueChange={onChange}