Skip to content

Commit

Permalink
add box sizing borderbox to avoid border being not visible in UIs. re…
Browse files Browse the repository at this point in the history
…move the margin top to sidebar to avoid gap between border
  • Loading branch information
JeanMarcMilletScality committed Mar 19, 2024
1 parent aa1e276 commit 7c40d1f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions src/lib/components/navbar/Navbar.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ const NavbarContainer = styled.div`
color: ${getThemePropSelector('textPrimary')};
}
border-bottom: 0.5px solid ${(props) => props.theme.backgroundLevel3};
box-sizing: border-box;
`};
`;
const NavbarMenu = styled.div`
Expand Down
1 change: 0 additions & 1 deletion src/lib/components/sidebar/Sidebar.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ const Wrapper = styled.div<WrapperProps>`
}
`;
}}
margin-top: 1px;
border-right: 1px solid ${(props) => props.theme.backgroundLevel3};
${(props) => {
if (props.expanded) {
Expand Down

0 comments on commit 7c40d1f

Please sign in to comment.