RunestoneInteractive / fopp

Foundations of Python Programming
https://runestone.academy/runestone/static/fopp/index.html
37 stars 120 forks source link

In the assignments tab, make #component-preview float #260

Closed sahi1l closed 5 years ago

sahi1l commented 5 years ago

Describe the feature request When I choose a problem for an assignment, I have to then scroll back up to see what the problem looks like. This makes scrolling through multiple problems tedious.

To Fix Add the following line to CSS:

margin-right: 20px;
position: fixed;
right: 0px;
max-height: 100%;
overflow-y: scroll;
top: 0px;
padding-top: 60px;

We should also add a close button to component-preview so it doesn't get in the way of stuff higher up on the window.

bnmnetp commented 5 years ago

Nice!

bnmnetp commented 5 years ago

Added this and a close button... Will be live shortly.

May need a hard refresh initially to update the css file