Rise: Markdown cells with verbatim blocks get horizontal scroll bars.

Created on 31 Oct 2018  路  5Comments  路  Source: damianavila/RISE

I am loving using RISE in my undergrad python classes, but I have a problem:

Any markdown cell that has a verbatim block gets horizontal scroll bars in the slideshow.

For example a cell:

This is a test

This is not a block

renders fine, but

This is a test:

    This is a block

Does get a horizontal scroll bar. The funny thing is, it doesn't matter how wide the broswer window is, the bar is always there. I can make the window half my screen, all my screen or zoom right out, but the bar is still there.

I've tried both indented blocks and github style tripple backtick blocks, with the same result each time.

Low Severity Medium Priority bug

Most helpful comment

@damianavila Done 馃槂

All 5 comments

I think I have seen this before, we should be fixing this behavior easily, I presume.

This seems to be caused by the \

 tag. Adding padding to every text_cell_render div via css

.reveal .text_cell_render {
    padding-right: 50px;
}

fixed the problem for me and didn't seem to mess up anything else.

@CaptainProton42 PR incoming :wink:?

@damianavila Done 馃槂

Fixed by #459. Closing here.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

neighthan picture neighthan  路  3Comments

rzuritamilla picture rzuritamilla  路  4Comments

andreagrandi picture andreagrandi  路  6Comments

knuesel picture knuesel  路  5Comments

BananaDrum picture BananaDrum  路  3Comments