wolfe-pack / moro

Interactive documentation and programming with Scala, iPython notebook style.
http://wolfe-pack.github.io/moro
BSD 2-Clause "Simplified" License
19 stars 3 forks source link

Per Cell toolbar should be vertical #58

Closed riedelcastro closed 9 years ago

riedelcastro commented 9 years ago

And appear below the "run" button. Currently the toolbar tends to interfere with the first lines of markdown I am writing.

sameersingh commented 9 years ago

That'll be a problem when the editor is not long enough. I think we need to move it too, so let's think of other options.

On Monday, April 20, 2015, Sebastian Riedel notifications@github.com wrote:

And appear below the "run" button. Currently the toolbar tends to interfere with the first lines of markdown I am writing.

— Reply to this email directly or view it on GitHub https://github.com/wolfe-pack/moro/issues/58.

riedelcastro commented 9 years ago

By long you mean vertical length? That wouldn't be a problem because that middle bar is completely empty anyway. It would interfere with the horizontal lines but I don't think that's too bad.

sameersingh commented 9 years ago

Yeah I mean vertical length. I guess you mean it's okay if it goes over to the next editor, but the way the divs are nested, and my very limited knowledge of css, I don't know how to have the button div overlap across editors.

On Mon, Apr 20, 2015 at 3:43 PM, Sebastian Riedel notifications@github.com wrote:

By long you mean vertical length? That wouldn't be a problem because that middle bar is completely empty anyway. It would interfere with the horizontal lines but I don't think that's too bad.

— Reply to this email directly or view it on GitHub https://github.com/wolfe-pack/moro/issues/58#issuecomment-94585600.

sameersingh commented 9 years ago

The toolbar now fades out if the mouse is not moved, so the first line of the editor will not be hidden (for long). Not a perfect solution, since you still can't select etc on the first line without bringing up the toolbar, but works for keyboard focused editing quite well.