diff --git a/apps/web/src/components/editor/toolbar.js b/apps/web/src/components/editor/toolbar.js index cac36dc3a..b24c3761f 100644 --- a/apps/web/src/components/editor/toolbar.js +++ b/apps/web/src/components/editor/toolbar.js @@ -116,7 +116,7 @@ function Toolbar(props) { return ( - + @@ -161,8 +164,10 @@ function Toolbar(props) { title={tool.title} key={tool.title} sx={{ - display: [tool.hideOnMobile ? "none" : "block", "block", "block"], - visibility: tool.hidden ? "collapse" : "visible", + display: [ + tool.hideOnMobile ? "none" : "block", + tool.hidden ? "none" : "block", + ], color: tool.enabled ? "text" : "disabled", cursor: tool.enabled ? "pointer" : "not-allowed", }}