diff --git a/apps/builder/app/builder/features/style-panel/sections/size/size.tsx b/apps/builder/app/builder/features/style-panel/sections/size/size.tsx
index 74d7b213ebd2..082842d96ae1 100644
--- a/apps/builder/app/builder/features/style-panel/sections/size/size.tsx
+++ b/apps/builder/app/builder/features/style-panel/sections/size/size.tsx
@@ -15,10 +15,10 @@ import {
import { PositionControl, SelectControl, TextControl } from "../../controls";
import {
EyeOpenIcon,
- EyeClosedIcon,
- ScrollIcon,
AutoScrollIcon,
EllipsesIcon,
+ CropIcon,
+ EyeClosedIcon,
} from "@webstudio-is/icons";
import { StyleSection } from "../../shared/style-section";
import { ToggleGroupControl } from "../../controls/toggle-group/toggle-group-control";
@@ -124,18 +124,17 @@ export const Section = () => {
value: "visible",
},
{
- child: ,
+ child: ,
description:
- "Content that exceeds the container's size is clipped and hidden without scrollbars.",
- value: "hidden",
+ "Content that exceeds the container's size is clipped without scrollbars.",
+ value: "clip",
},
{
- child: ,
+ child: ,
description:
- "Scrollbars are added to the container, allowing users to scroll and view the exceeding content.",
- value: "scroll",
+ "Content that exceeds the container's size is hidden without scrollbars.",
+ value: "hidden",
},
-
{
child: ,
description:
diff --git a/packages/icons/icons/crop.svg b/packages/icons/icons/crop.svg
new file mode 100644
index 000000000000..3b823212ec88
--- /dev/null
+++ b/packages/icons/icons/crop.svg
@@ -0,0 +1,14 @@
+
diff --git a/packages/icons/icons/scroll.svg b/packages/icons/icons/scroll.svg
deleted file mode 100644
index 25777929ba43..000000000000
--- a/packages/icons/icons/scroll.svg
+++ /dev/null
@@ -1,44 +0,0 @@
-
diff --git a/packages/icons/src/__generated__/components.tsx b/packages/icons/src/__generated__/components.tsx
index d4103dd8e236..85139186056a 100644
--- a/packages/icons/src/__generated__/components.tsx
+++ b/packages/icons/src/__generated__/components.tsx
@@ -1855,6 +1855,30 @@ export const CopyIcon: IconComponent = forwardRef(
);
CopyIcon.displayName = "CopyIcon";
+export const CropIcon: IconComponent = forwardRef(
+ ({ fill = "none", size = 16, ...props }, forwardedRef) => {
+ return (
+
+ );
+ }
+);
+CropIcon.displayName = "CropIcon";
+
export const DashedBorderIcon: IconComponent = forwardRef(
({ fill = "none", size = 16, ...props }, forwardedRef) => {
return (
@@ -4126,30 +4150,6 @@ export const ResourceIcon: IconComponent = forwardRef(
);
ResourceIcon.displayName = "ResourceIcon";
-export const ScrollIcon: IconComponent = forwardRef(
- ({ fill = "none", size = 16, ...props }, forwardedRef) => {
- return (
-
- );
- }
-);
-ScrollIcon.displayName = "ScrollIcon";
-
export const SearchIcon: IconComponent = forwardRef(
({ fill = "none", size = 16, ...props }, forwardedRef) => {
return (
diff --git a/packages/icons/src/__generated__/svg.ts b/packages/icons/src/__generated__/svg.ts
index c9d4cdb72dad..506b399bb5f1 100644
--- a/packages/icons/src/__generated__/svg.ts
+++ b/packages/icons/src/__generated__/svg.ts
@@ -138,6 +138,8 @@ export const ContentIcon = ``;
+export const CropIcon = ``;
+
export const DashedBorderIcon = ``;
export const DescriptionIcon = ``;
@@ -306,8 +308,6 @@ export const ResetIcon = ``;
-export const ScrollIcon = ``;
-
export const SearchIcon = ``;
export const SectionLinkIcon = ``;