Re: org2blog: get horizontal scrollbar on code examples?

2020-04-04 Thread Steinar Bang
> Christian Moe : > Try adding > .org-src-container .src { overflow: auto; white-space: nowrap } > to the CSS, e.g.: > #+html_head_extra: .org-src-container .src { overflow: auto; > white-space: nowrap } Thanks for the tip, Christian! The "#+html_head_extra" example didn't work,

Re: org2blog: get horizontal scrollbar on code examples?

2020-04-04 Thread Christian Moe
Try adding .org-src-container .src { overflow: auto; white-space: nowrap } to the CSS, e.g.: #+html_head_extra: .org-src-container .src { overflow: auto; white-space: nowrap } Cheers, Christian Steinar Bang writes: > Does anyone know of a way to get horizontal scrollbars on code

org2blog: get horizontal scrollbar on code examples?

2020-04-04 Thread Steinar Bang
Does anyone know of a way to get horizontal scrollbars on code examples, instead of line breaks? I try to make code examples as horizontally compact, but sometimes that's not enough, see e.g. some maven elements here, and the maven command line examples: