✨ Innovative and open-source visualization application that transforms various data formats, such as JSON, YAML, XML and CSV into interactive graphs.
set fixed height to elements
AykutSarac38863d0b8a10
diff --git a/src/constants/fonts.ts b/src/constants/fonts.tsindex c4e6afe4..dd9bb46f 100644--- a/src/constants/fonts.ts+++ b/src/constants/fonts.ts@@ -12,6 +12,7 @@ const firaMono = Fira_Mono({weight: ["500"],subsets: ["latin"],display: "swap",+ preload: false,});export { monaSans, firaMono };diff --git a/src/containers/Editor/BottomBar.tsx b/src/containers/Editor/BottomBar.tsxindex ac3cb7d9..606602bd 100644--- a/src/containers/Editor/BottomBar.tsx+++ b/src/containers/Editor/BottomBar.tsx@@ -67,6 +67,9 @@ const StyledBottomBarItem = styled.button<{ $error?: boolean }>`font-weight: 400;color: ${({ theme, $error }) => ($error ? theme.DANGER : theme.INTERACTIVE_NORMAL)};background: ${({ $error }) => $error && "rgba(255, 99, 71, 0.4)"};+ white-space: nowrap;+ text-overflow: ellipsis;+ overflow: hidden;&:hover:not(&:disabled) {background-image: linear-gradient(rgba(0, 0, 0, 0.1) 0 0);diff --git a/src/layout/Navbar/index.tsx b/src/layout/Navbar/index.tsxindex f06f6596..a72ba78c 100644--- a/src/layout/Navbar/index.tsx+++ b/src/layout/Navbar/index.tsx@@ -15,6 +15,7 @@ const StyledNavbar = styled.div`justify-content: space-between;align-items: center;width: 90vw;+ height: 56px;margin: 0 auto;border: 2px solid black;background: white;