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.

adjust some style nits

Sultanbf7c28b3ab32
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.tsx
index 5fd2314019..d674cff66f 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
@@ -49,8 +49,8 @@ const alignContentStyle = {
gridArea: "alignContent",
...layoutSectionChildStyle,
};
-const lockStyle = { gridArea: "lock", ...layoutSectionChildStyle };
-const gridStyle = { gridArea: "grid", ...layoutSectionChildStyle };
+const lockStyle = { gridArea: "lock" };
+const gridStyle = { gridArea: "grid" };
const displayStyle = {
gridArea: "display",
gridTemplateColumns: "auto 1fr",
diff --git a/apps/designer/app/designer/features/style-panel/shared/property-name.tsx b/apps/designer/app/designer/features/style-panel/shared/property-name.tsx
index 734fce91d0..ca0549a18b 100644
--- a/apps/designer/app/designer/features/style-panel/shared/property-name.tsx
+++ b/apps/designer/app/designer/features/style-panel/shared/property-name.tsx
@@ -65,10 +65,9 @@ export const PropertyIcon = forwardRef<
variant="ghost"
size="1"
css={{
- position: "absolute",
- left: "1px",
- top: "1px",
- width: "$5",
+ position: "relative",
+ marginLeft: "calc(-$space$1 + 1px)",
+ width: "calc(100% - 2px)",
height: "calc(100% - 2px)",
borderRadius: "$1",
border: "2px solid $colors$loContrast",
diff --git a/packages/design-system/src/components/text-field.tsx b/packages/design-system/src/components/text-field.tsx
index c44ed101c1..c8b4934704 100644
--- a/packages/design-system/src/components/text-field.tsx
+++ b/packages/design-system/src/components/text-field.tsx
@@ -61,7 +61,6 @@ const InputBase = styled("input", {
const TextFieldBase = styled("div", {
// Custom
display: "flex",
- gap: "$1",
backgroundColor: "$loContrast",
boxShadow: "inset 0 0 0 1px $colors$slate7",
color: "$hiContrast",