✨ Innovative and open-source visualization application that transforms various data formats, such as JSON, YAML, XML and CSV into interactive graphs.
fix: small screen display
AykutSarac83a7cd07414d
diff --git a/src/components/Graph/index.tsx b/src/components/Graph/index.tsxindex 8ae051b8..afdf1390 100644--- a/src/components/Graph/index.tsx+++ b/src/components/Graph/index.tsx@@ -49,7 +49,7 @@ const StyledEditorWrapper = styled.div<{ widget: boolean }>`}@media only screen and (max-width: 768px) {- height: calc(100vh - 36px);+ height: 100vh;}`;diff --git a/src/containers/Editor/BottomBar.tsx b/src/containers/Editor/BottomBar.tsxindex db695c57..89428161 100644--- a/src/containers/Editor/BottomBar.tsx+++ b/src/containers/Editor/BottomBar.tsx@@ -28,6 +28,10 @@ const StyledBottomBar = styled.div`max-height: 27px;height: 27px;padding: 0 6px;++ @media screen and (max-width: 480px) {+ display: none;+ }`;const StyledLeft = styled.div`@@ -35,10 +39,6 @@ const StyledLeft = styled.div`align-items: center;justify-content: left;gap: 4px;-- @media screen and (max-width: 480px) {- display: none;- }`;const StyledRight = styled.div`diff --git a/src/containers/Editor/LiveEditor/Tools.tsx b/src/containers/Editor/LiveEditor/Tools.tsxindex bedf22ef..fea85297 100644--- a/src/containers/Editor/LiveEditor/Tools.tsx+++ b/src/containers/Editor/LiveEditor/Tools.tsx@@ -45,7 +45,7 @@ export const StyledTools = styled.div`box-shadow: 0 1px 0px ${({ theme }) => theme.BACKGROUND_TERTIARY};z-index: 36;- @media only screen and (max-width: 320px) {+ @media only screen and (max-width: 480px) {display: none;}`;diff --git a/src/containers/Editor/Panes.tsx b/src/containers/Editor/Panes.tsxindex 2527dbde..dca0d4d5 100644--- a/src/containers/Editor/Panes.tsx+++ b/src/containers/Editor/Panes.tsx@@ -11,6 +11,10 @@ export const StyledEditor = styled(Allotment)`display: flex;background: ${({ theme }) => theme.BACKGROUND_SECONDARY};height: calc(100vh - 63px);++ @media only screen and (max-width: 480px) {+ height: 100vh;+ }`;const LiveEditor = dynamic(() => import("src/containers/Editor/LiveEditor"), {diff --git a/src/pages/editor.tsx b/src/pages/editor.tsxindex 9ecdd2e2..784f4462 100644--- a/src/pages/editor.tsx+++ b/src/pages/editor.tsx@@ -16,6 +16,10 @@ import useUser from "src/store/useUser";export const StyledPageWrapper = styled.div`height: calc(100vh - 27px);width: 100%;++ @media only screen and (max-width: 480px) {+ height: 100vh;+ }`;export const StyledEditorWrapper = styled.div`