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.

use MenuIcon in fonts UI for consistency

Roman Pominov57cfbe1d2f9c
diff --git a/apps/designer/app/designer/shared/fonts-manager/item-menu.tsx b/apps/designer/app/designer/shared/fonts-manager/item-menu.tsx
index d1c893cf6b..ffaa17542c 100644
--- a/apps/designer/app/designer/shared/fonts-manager/item-menu.tsx
+++ b/apps/designer/app/designer/shared/fonts-manager/item-menu.tsx
@@ -8,7 +8,7 @@ import {
DropdownMenuPortal,
styled,
} from "@webstudio-is/design-system";
-import { DotsHorizontalIcon } from "@webstudio-is/icons";
+import { MenuIcon } from "@webstudio-is/icons";
import { type FocusEventHandler, useState, useRef, useEffect } from "react";
const MenuButton = styled(IconButton, {
@@ -64,7 +64,7 @@ const ItemMenu = ({
event.stopPropagation();
}}
>
- <DotsHorizontalIcon />
+ <MenuIcon />
</MenuButton>
</DropdownMenuTrigger>
<DropdownMenuPortal>
diff --git a/packages/design-system/src/components/list.stories.tsx b/packages/design-system/src/components/list.stories.tsx
index bcbac6e82b..e829024d1e 100644
--- a/packages/design-system/src/components/list.stories.tsx
+++ b/packages/design-system/src/components/list.stories.tsx
@@ -1,5 +1,5 @@
import type { ComponentStory } from "@storybook/react";
-import { CheckIcon, DotsHorizontalIcon } from "@webstudio-is/icons";
+import { CheckIcon, MenuIcon } from "@webstudio-is/icons";
import { useState } from "react";
import { List, ListItem, useList } from "./list";
@@ -13,12 +13,12 @@ export const Declarative: ComponentStory<typeof List> = () => {
<ListItem>Apple</ListItem>
<ListItem state="disabled">Banana</ListItem>
<ListItem state="selected">Orange</ListItem>
- <ListItem prefix={<CheckIcon />} suffix={<DotsHorizontalIcon />}>
+ <ListItem prefix={<CheckIcon />} suffix={<MenuIcon />}>
Strawberry
</ListItem>
<ListItem
prefix={<CheckIcon />}
- suffix={<DotsHorizontalIcon />}
+ suffix={<MenuIcon />}
current
state="selected"
>