Skip to content

An open source alternative to Tableau. Embeddable visual analytic

fix: let the toolbar wrap in lg screen (#409)

islxyqwe49fc6a373ac1
diff --git a/packages/graphic-walker/src/components/toolbar/index.tsx b/packages/graphic-walker/src/components/toolbar/index.tsx
index c99508a4..468d2b65 100644
--- a/packages/graphic-walker/src/components/toolbar/index.tsx
+++ b/packages/graphic-walker/src/components/toolbar/index.tsx
@@ -15,7 +15,7 @@ const Toolbar = memo<ToolbarProps>(function Toolbar({ items }) {
const [openedKey, setOpenedKey] = useState<string | null>(null);
return (
- <div className="flex flex-wrap sm:flex-nowrap border my-1 w-full rounded overflow-hidden">
+ <div className="flex flex-wrap lg:flex-nowrap border my-1 w-full rounded overflow-hidden">
{items.map((item, i) => {
if (item === ToolbarItemSplitter) {
return <Separator orientation="vertical" className="mx-1 my-1.5 h-6" key={i} />;