-
Notifications
You must be signed in to change notification settings - Fork 105
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
Change side bar color and fix side bar 100% height #60
Comments
Changing the color is simple: import SideNav from "@trendmicro/react-sidenav";
const StyledSideNav = styled(SideNav)`
background-color: #0057c3;
`; The bar out-of-the-box works for 100% height for me, do you have a picture to show what you mean? |
I actually found out your problem, of the 100% height. try adding this inside you SideNav component: style={{
position: "fixed",
}} this will fix the navbar to the right, and then the user can scrooll the page and it will always show it in same place. It is no 100% height but it works for desktop at least |
`render() {
`; return ( (
` |
I also cannot change the background. Do you find the solution? |
No description provided.
The text was updated successfully, but these errors were encountered: