From e577001acd73bef313d42c0351c8ee09bda5f25e Mon Sep 17 00:00:00 2001 From: thecodrr Date: Thu, 22 Apr 2021 13:12:51 +0500 Subject: [PATCH] feat: stretch title in toolbar --- apps/web/src/components/editor/toolbar.js | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) 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", }}