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.

simplify icons storybook

Roman Pominov14df7a5b1be7
diff --git a/packages/icons/src/index.stories.tsx b/packages/icons/src/index.stories.tsx
index d80133a6fe..1598120e8b 100644
--- a/packages/icons/src/index.stories.tsx
+++ b/packages/icons/src/index.stories.tsx
@@ -4,9 +4,6 @@ import * as legacyIcons from "./legacy";
export const Icons = () => {
return (
<>
- <style>{`
- svg {width: 100%; height: 100%;}
- `}</style>
<div style={{ display: "flex", flexWrap: "wrap" }}>
{Object.entries(icons).map(
// eslint-disable-next-line @typescript-eslint/no-explicit-any
@@ -29,20 +26,10 @@ export const Icons = () => {
justifyContent: "center",
}}
>
+ <Icon width="32" height="32" />
<div
style={{
- display: "flex",
- width: 32,
- height: 32,
- alignItems: "center",
- justifyContent: "center",
- marginBottom: 16,
- }}
- >
- <Icon />
- </div>
- <div
- style={{
+ marginTop: 16,
fontFamily: "Arial",
textAlign: "center",
wordWrap: "break-word",