emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bug: ox-html.el: Code blocks extend out of box border
@ 2020-05-27  3:49 Seshal Jain
  2020-09-04 10:42 ` Bastien
  0 siblings, 1 reply; 6+ messages in thread
From: Seshal Jain @ 2020-05-27  3:49 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 427 bytes --]

The exported html from Org Mode contains a style for element pre.src,
overflow: visible. This causes code elements with reasonably
long lines to extend out of the box boundaries, causing a horizontal
scroll of the document.
Changing overflow: visible to overflow: auto
should solve this, making the pre element scrollable instead and keeping the
code from leaking into the page and causing a horizontal scroll on the
document.

[-- Attachment #2: Type: text/html, Size: 485 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Bug: ox-html.el: Code blocks extend out of box border
  2020-05-27  3:49 Bug: ox-html.el: Code blocks extend out of box border Seshal Jain
@ 2020-09-04 10:42 ` Bastien
  2020-11-02 11:50   ` Nix.org.ua Mirrors via General discussions about Org-mode.
  2020-11-02 12:34   ` Vladislav Glinsky
  0 siblings, 2 replies; 6+ messages in thread
From: Bastien @ 2020-09-04 10:42 UTC (permalink / raw)
  To: Seshal Jain; +Cc: emacs-orgmode

Hi Seshal,

Seshal Jain <seshaljain11@gmail.com> writes:

> The exported html from Org Mode contains a style for element pre.src,
> overflow: visible. This causes code elements with reasonably
> long lines to extend out of the box boundaries, causing a horizontal
> scroll of the document.
> Changing overflow: visible to overflow: auto
> should solve this, making the pre element scrollable instead and
> keeping the
> code from leaking into the page and causing a horizontal scroll on
> the document.

Fixed in maint (fd460ea46); thanks a lot.

-- 
 Bastien


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Bug: ox-html.el: Code blocks extend out of box border
  2020-09-04 10:42 ` Bastien
@ 2020-11-02 11:50   ` Nix.org.ua Mirrors via General discussions about Org-mode.
  2020-11-02 12:34   ` Vladislav Glinsky
  1 sibling, 0 replies; 6+ messages in thread
From: Nix.org.ua Mirrors via General discussions about Org-mode. @ 2020-11-02 11:50 UTC (permalink / raw)
  To: bzg; +Cc: emacs-orgmode, seshaljain11


[-- Attachment #1.1: Type: text/plain, Size: 152 bytes --]

Please note that changes from this patch cause clipping of popups with
language labels (pre.src:before).

-- 
Best regards,
Vladislav Glinsky



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Bug: ox-html.el: Code blocks extend out of box border
  2020-09-04 10:42 ` Bastien
  2020-11-02 11:50   ` Nix.org.ua Mirrors via General discussions about Org-mode.
@ 2020-11-02 12:34   ` Vladislav Glinsky
  2020-12-22 20:20     ` Kyle Meyer
  1 sibling, 1 reply; 6+ messages in thread
From: Vladislav Glinsky @ 2020-11-02 12:34 UTC (permalink / raw)
  To: bzg; +Cc: emacs-orgmode, seshaljain11


[-- Attachment #1.1: Type: text/plain, Size: 151 bytes --]

Please note that changes from this patch cause clipping of popups with language labels (pre.src:before).

-- 
Best regards,
Vladislav Glinsky



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Bug: ox-html.el: Code blocks extend out of box border
  2020-11-02 12:34   ` Vladislav Glinsky
@ 2020-12-22 20:20     ` Kyle Meyer
  2020-12-22 23:34       ` cl0ne
  0 siblings, 1 reply; 6+ messages in thread
From: Kyle Meyer @ 2020-12-22 20:20 UTC (permalink / raw)
  To: Vladislav Glinsky, bzg; +Cc: emacs-orgmode, seshaljain11

Vladislav Glinsky writes:

> Please note that changes from this patch cause clipping of popups with
> language labels (pre.src:before).

Thanks for reporting and sorry for the slow reply.  As far as I can
tell, this was fixed by Fatih Aydin in 5ee39c352 (ox-html: Add margin to
fix overflow visibility problem, 2020-12-06).



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Bug: ox-html.el: Code blocks extend out of box border
  2020-12-22 20:20     ` Kyle Meyer
@ 2020-12-22 23:34       ` cl0ne
  0 siblings, 0 replies; 6+ messages in thread
From: cl0ne @ 2020-12-22 23:34 UTC (permalink / raw)
  To: Kyle Meyer; +Cc: bzg, emacs-orgmode, seshaljain11

[-- Attachment #1: Type: text/plain, Size: 508 bytes --]

On 22.12.20 22:20, Kyle Meyer wrote:
> Vladislav Glinsky writes:
> 
>> Please note that changes from this patch cause clipping of popups with
>> language labels (pre.src:before).
> Thanks for reporting and sorry for the slow reply.  As far as I can
> tell, this was fixed by Fatih Aydin in 5ee39c352 (ox-html: Add margin 
> to
> fix overflow visibility problem, 2020-12-06).
> 
> 
> 
Thank you for your reply and yes, I can confirm that 5ee39c352 fixes the
problem.

-- 
Best regards,
Vladislav Glinsky






[-- Attachment #2: OpenPGP_signature --]
[-- Type: application/pgp-signature, Size: 505 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-12-23 13:09 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-27  3:49 Bug: ox-html.el: Code blocks extend out of box border Seshal Jain
2020-09-04 10:42 ` Bastien
2020-11-02 11:50   ` Nix.org.ua Mirrors via General discussions about Org-mode.
2020-11-02 12:34   ` Vladislav Glinsky
2020-12-22 20:20     ` Kyle Meyer
2020-12-22 23:34       ` cl0ne

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).