Skip to content

Commit

Permalink
**Fix:** Remove sidenav border in dark mode. (#1189)
Browse files Browse the repository at this point in the history
* Remove sidenav border in dark mode.

* Replace ternary with logical and operator.
  • Loading branch information
Imogen Mason authored and Tejas Kumar committed Aug 12, 2019
1 parent 35ece4d commit 177b855
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/Sidenav/Sidenav.tsx
Expand Up @@ -28,8 +28,10 @@ const Container = styled("div")<SidenavProps>(({ theme, compact, dark }) => {
overflow: "auto",
width: compact ? theme.compactSidebarWidth : theme.sidebarWidth,
height: "100%",
borderRight: "1px solid",
borderRightColor: theme.color.separators.default,
...(!dark && {
borderRight: "1px solid",
borderRightColor: theme.color.separators.default,
}),

".operational-ui__sidenav-item_end": {
marginTop: "auto",
Expand Down

0 comments on commit 177b855

Please sign in to comment.