-
-
Notifications
You must be signed in to change notification settings - Fork 127
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
sidebar #30
Comments
My best bet would be to use |
I am trying that approach: https://gist.github.com/acivitillo/aededad3d5fc4c659a6eae2c6891defc But I am struggling with making the header full width and getting the sidebar |
Honestly, a sidebar was never considered, but if anyone can find a good way to implement one with the It's currently planned for 2.0.0 to use the Leaving issue open in case anyone makes a good sidebar element. |
I think the problem is what to do with the body element. I have managed to create a sidebar with aside and main, but I had to change body too. |
@acivitillo : I palyed around with your gist. https://codepen.io/hunzaboy/pen/vYNMzrv can help with your issue. |
@hunzaboy great thanks! I have added a center element for the header: https://codepen.io/acivitillo/pen/QWjPJKB It would be nice for the header to align to the |
@acivitillo Is this issue still exists that header is not aligned to the content column |
Here's my attempt - https://codepen.io/xcartmods/pen/qBbrWWb |
@xcartmods I think your solution is close, I would add margin left and top and review the background color. Overall your idea to move the sidebar to the right makes much more sense. @jegadeessa I think @xcartmods solutions is close to complete. |
As it's flexbox, you can change the order of the columns, but as we're only using one element for main and aside, padding them out's a bit tricky :) Not so bad though... |
What would be the right way to add a sidebar to this? I find this css refreshing and clean for docs, but docs should have a sidebar.
I think
could be used? But then I wonder how to work with the grid layout to add this.The text was updated successfully, but these errors were encountered: