Skip to content

Commit

Permalink
fix: let the toolbar wrap in lg screen (#409)
Browse files Browse the repository at this point in the history
  • Loading branch information
islxyqwe authored Aug 22, 2024
1 parent 9912c8c commit 49fc6a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/graphic-walker/src/components/toolbar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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} />;
Expand Down

0 comments on commit 49fc6a3

Please sign in to comment.