Technical Documetation Page. Media queries and grid system


I have almost finish my project using grid system. I have the followin couple of issues.

1, Under 768px the sidebar is located at the top of the page ok, but when you scroll down the side bar is no following the user.
2. I use some code in html tag. When i uce the ‘white-space:pre’ then the code contents align corectly but in a wide width of the page. So, what yould you suggets?