✨ Innovative and open-source visualization application that transforms various data formats, such as JSON, YAML, XML and CSV into interactive graphs.
fix sidebar item height
Aykut Saraç1076158afb1c
diff --git a/src/components/Sidebar/index.tsx b/src/components/Sidebar/index.tsxindex 5560b54c..865a2934 100644--- a/src/components/Sidebar/index.tsx+++ b/src/components/Sidebar/index.tsx@@ -43,6 +43,8 @@ const StyledSidebar = styled.div``;const StyledElement = styled.div<{ disabled?: boolean }>`+ display: flex;+ justify-content: center;text-align: center;font-size: 28px;font-weight: 700;@@ -62,6 +64,7 @@ const StyledElement = styled.div<{ disabled?: boolean }>`}svg {+ padding: 8px 0;vertical-align: middle;}`;@@ -78,8 +81,11 @@ const StyledTopWrapper = styled.nav`align-items: center;width: 100%;- & > div,- a {+ & > div:first-of-type {+ border-top: 1px solid ${({ theme }) => theme.SILVER_DARK};+ }++ & > div:nth-child(n + 1) {border-bottom: 1px solid ${({ theme }) => theme.SILVER_DARK};}`;@@ -92,7 +98,7 @@ const StyledBottomWrapper = styled.nav`width: 100%;& > div,- a {+ a:nth-child(0) {border-top: 1px solid ${({ theme }) => theme.SILVER_DARK};}`;diff --git a/src/components/Tooltip/index.tsx b/src/components/Tooltip/index.tsxindex 9c256836..eed60196 100644--- a/src/components/Tooltip/index.tsx+++ b/src/components/Tooltip/index.tsx@@ -7,14 +7,15 @@ interface TooltipProps {const StyledTooltipWrapper = styled.div`position: relative;- width: fit-content;+ width: 100%;+ height: 100%;`;const StyledTooltip = styled.div<{ visible: boolean }>`position: absolute;top: 0;right: 0;- transform: translate(calc(100% + 20px), 25%);+ transform: translate(calc(100% + 15px), 25%);z-index: 5;background: ${({ theme }) => theme.SILVER};color: ${({ theme }) => theme.SILVER_DARK};