Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

**Fix:** Remove sidenav border in dark mode. #1189

Merged
merged 2 commits into from Aug 12, 2019

Conversation

ImogenF
Copy link
Contributor

@ImogenF ImogenF commented Aug 12, 2019

Summary

https://contiamo.atlassian.net/browse/PLAT-811

Grey border on the right of the sidebar is now only there if the sidenav has a white background - in dark mode, it is gone.

image

image

Related issue

To be tested

Me

  • No error or warning in the console on localhost:6060

Tester 1

  • Things look good on the demo.

Tester 2

  • Things look good on the demo.

@ImogenF ImogenF force-pushed the PLAT-811-fix-sidenav-border branch from 6f4ee66 to 28bd454 Compare August 12, 2019 12:44
borderRight: "1px solid",
borderRightColor: theme.color.separators.default,
...(dark
? {}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think a logical and operator makes more sense than a one-sided ternary in this case. 🤔

@TejasQ
Copy link
Contributor

TejasQ commented Aug 12, 2019

image

Is this correct?

@TejasQ TejasQ merged commit 177b855 into master Aug 12, 2019
@TejasQ TejasQ deleted the PLAT-811-fix-sidenav-border branch August 12, 2019 13:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants