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
orient icons in dropdown to the same orientation as the displayed icon
Sultan752188fd1480
diff --git a/apps/designer/app/designer/features/style-panel/style-section.tsx b/apps/designer/app/designer/features/style-panel/style-section.tsxindex baf3b18b20..c3e0151bed 100644--- a/apps/designer/app/designer/features/style-panel/style-section.tsx+++ b/apps/designer/app/designer/features/style-panel/style-section.tsx@@ -305,7 +305,7 @@ const ComboboxControl = ({label={styleConfig.property}items={styleConfig.items}// state={value.type === "invalid" ? "invalid" : undefined}- value={String(value.value) as string}+ value={String(value.value)}// @todo new combobox doesn't include any of these event handlers// onValueSelect={setValue}// onValueEnter={setValue}@@ -399,7 +399,7 @@ const ComboiconControl = ({}css={{...(styleConfig.property !== "flexDirection" && {- "& svg": {+ svg: {transform: `rotate(${currentStyle.flexDirection?.value === "column"? 90 * (styleConfig.property === "alignItems" ? -1 : 1)@@ -512,7 +512,6 @@ const GridControl = ({.slice(1).split("_").map((value) => ["start", "center", "end"][parseFloat(value)]);- // @todo: these two should be set in one instead of two seperate updatessetAlignItems(alignItems);setJustifyContent(justifyContent);batch.publish();diff --git a/packages/design-system/src/components/comboicon.tsx b/packages/design-system/src/components/comboicon.tsxindex 130d712972..bc4e97848d 100644--- a/packages/design-system/src/components/comboicon.tsx+++ b/packages/design-system/src/components/comboicon.tsx@@ -125,7 +125,7 @@ export const Comboicon = ({<StyledItemIndicator><CheckIcon /></StyledItemIndicator>- <Box css={{ transform: css.transform }}>+ <Box css={{ svg: css.svg }}><ItemIcon /></Box>{label}