Skip to content

✨ Innovative and open-source visualization application that transforms various data formats, such as JSON, YAML, XML and CSV into interactive graphs.

disable toolbar for mobile

AykutSaracd98cc4edc095
diff --git a/src/containers/Editor/LiveEditor/Tools.tsx b/src/containers/Editor/LiveEditor/Tools.tsx
index 3cfb0a34..acca06f1 100644
--- a/src/containers/Editor/LiveEditor/Tools.tsx
+++ b/src/containers/Editor/LiveEditor/Tools.tsx
@@ -23,10 +23,14 @@ export const StyledTools = styled.div<{ isWidget: boolean }>`
@media only screen and (max-width: 768px) {
display: ${({ isWidget }) => !isWidget && "none"};
}
+
+ @media only screen and (max-width: 480px) {
+ display: none;
+ }
`;
const StyledToolElement = styled.button<{ hide?: boolean }>`
- display: ${({ hide }) => hide ? "none" : "grid"};
+ display: ${({ hide }) => (hide ? "none" : "grid")};
place-content: center;
font-size: 20px;
background: none;