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

Question: Aligning the sidebar code with the main documentation #775

Closed
0x2me opened this issue May 23, 2017 · 2 comments
Closed

Question: Aligning the sidebar code with the main documentation #775

0x2me opened this issue May 23, 2017 · 2 comments

Comments

@0x2me
Copy link

0x2me commented May 23, 2017

image
Is there any way to change the height of the code on the right so that it aligns with the main documentation. This might be pedantic but I think it would greatly improve the documentation.

@0x2me
Copy link
Author

0x2me commented May 23, 2017

<blockquote style="margin-top: -71px;">

works in chroem console, but I cnat get it to work from the css.

@lord
Copy link
Member

lord commented Jun 15, 2017

It's not quite a complete solution, either, since a really long header that wraps will be taller than 71 pixels, which would cause the code to once again be too low.

Unfortunately, I think this is a limitation of the way Slate uses floats to lay things out on the page. Glad to take a look at PRs attempting to fix it, but I suspect there's no clean way to solve this problem.

@lord lord closed this as completed Jun 15, 2017
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

No branches or pull requests

2 participants