Modify ↓
#10335 closed defect (fixed)
syntax highlighting background colour cuts off
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Milestone: | 0.12.4 |
Component: | rendering | Version: | 0.12.2 |
Severity: | normal | Keywords: | syntax highlighting css xhtml bitesized |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
If a code block contains long lines so that a horizontal scroll bar appears, the background colour gets cut off to the right of the edge of the box (before scrolling). This is most noticeable when using a style with a dark background. Example:
my_var = "Long text string that is bigger then the ticket and makes scroll bars appear but also cuts off the background color. More text now just to make sure this example works.";
Confirmed in Firefox 6.0 and Chrome 14.
Attachments (1)
Change History (6)
comment:1 by , 13 years ago
Keywords: | bitesized added |
---|---|
Milestone: | → next-minor-0.12.x |
comment:2 by , 13 years ago
Putting
div.code pre { overflow:auto; }
seems to fix it (at least in Firefox 6.0).
comment:4 by , 13 years ago
Milestone: | next-minor-0.12.x → 0.12.4 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Fixed in [11013], thanks. Sorry for the delay, I missed your earlier update.
comment:5 by , 13 years ago
Owner: | set to |
---|
Note:
See TracTickets
for help on using tickets.
Weird indeed. I have just played a few minutes with the background CSS, but I couldn't find a way to make work.