From 04f2b62a930edf13991ffc67a9cfaf5b77e6cc04 Mon Sep 17 00:00:00 2001 From: Sultan <105234327+natlusyht@users.noreply.github.com> Date: Sat, 3 Sep 2022 18:40:00 +0300 Subject: [PATCH] make select control adaptive to variance needs and other adjustments --- .../app/designer/features/inspector/inspector.tsx | 1 - .../style-panel/controls/select/select-control.tsx | 12 +++++++----- .../features/style-panel/sections/layout/layout.tsx | 7 +++++++ .../features/style-panel/shared/property-name.tsx | 1 + packages/design-system/src/components/select.tsx | 9 ++------- 5 files changed, 17 insertions(+), 13 deletions(-) diff --git a/apps/designer/app/designer/features/inspector/inspector.tsx b/apps/designer/app/designer/features/inspector/inspector.tsx index 4eba23572c..4287854aa1 100644 --- a/apps/designer/app/designer/features/inspector/inspector.tsx +++ b/apps/designer/app/designer/features/inspector/inspector.tsx @@ -21,7 +21,6 @@ const contentStyle = { display: "flex", flexDirection: "column", overflow: "auto", - // boxShadow: "0 -1px 0 $colors$panelOutline", }; export const Inspector = ({ publish }: InspectorProps) => { 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.tsx index 7efcc64198..ce705ab512 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 @@ -21,13 +21,12 @@ export const SelectControl = ({ const setValue = setProperty(styleConfig.property); return ( - +