#13114 closed defect (fixed)
CSS problem with overlapping quoted bullets
Reported by: | anonymous | Owned by: | Christian Boos |
---|---|---|---|
Priority: | normal | Milestone: | 1.2.4 |
Component: | wiki system | Version: | |
Severity: | normal | Keywords: | css |
Cc: | Branch: | ||
Release Notes: |
Fixed margins around quoted lines containing bullet points. |
||
API Changes: | |||
Internal Changes: |
Description
Quoted bullets use negative margins CSS, example:
* ABCDEFABCDEFABCDEF > * ABCDEFABCDEFABCDEF
Is rendered with overlapping text lines:
- ABCDEFABCDEFABCDEF
- ABCDEFABCDEFABCDEF
Attachments (0)
Change History (9)
comment:1 by , 6 years ago
follow-up: 5 comment:2 by , 6 years ago
Keywords: | css added |
---|---|
Milestone: | → next-stable-1.2.x |
Ad hoc patch is here. The style is introduced in r3364.
-
trac/htdocs/css/trac.css
diff --git a/trac/htdocs/css/trac.css b/trac/htdocs/css/trac.css index 491815c94..adac09fdf 100644
a b tt { 550 550 } 551 551 552 552 blockquote.citation { 553 margin: -0.6em0;553 margin: 0; 554 554 border-style: solid; 555 555 border-width: 0 0 0 2px; 556 556 padding-left: .5em;
comment:4 by , 6 years ago
Other combinations don't require the fix:
ABCDEFABCDEFABCDEF > ABCDEFABCDEFABCDEF * ABCDEFABCDEFABCDEF > ABCDEFABCDEFABCDEF ABCDEFABCDEFABCDEF > * ABCDEFABCDEFABCDEF * ABCDEFABCDEFABCDEF > * ABCDEFABCDEFABCDEF
ABCDEFABCDEFABCDEF
ABCDEFABCDEFABCDEF
- ABCDEFABCDEFABCDEF
ABCDEFABCDEFABCDEF
ABCDEFABCDEFABCDEF
- ABCDEFABCDEFABCDEF
- ABCDEFABCDEFABCDEF
- ABCDEFABCDEFABCDEF
Do you know why?
follow-up: 6 comment:5 by , 6 years ago
Replying to Jun Omae:
Ad hoc patch is here.
This will also expand the spacing in all other situations (comment:4), including the gap between the "Replying to …" line and the quoted text (Ad hoc patch is here in this comment), which was the primary reason for that negative margin, IIRC.
An alternative fix would be:
li blockquote.citation { margin-top: 0; }
comment:6 by , 6 years ago
Milestone: | next-stable-1.2.x → 1.2.4 |
---|---|
Owner: | set to |
Status: | new → assigned |
Replying to Christian Boos:
An alternative fix would be: […]
Okay. I think we should apply your patch rather than my patch.
comment:8 by , 6 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:9 by , 5 years ago
Release Notes: | modified (diff) |
---|
Previously reported in #13113, which disappeared?