Defect #28331
closed
h4, h5 and h6 headings on wiki pages should have a paragraph mark
Added by Mizuki ISHIKAWA over 6 years ago.
Updated over 6 years ago.
Description
When you enter "h1, h2, h3" paragraph begins from there, and paragraph mark (ΒΆ) will be displayed by mouse hover.
![](/attachments/download/20272/paragraph.png)
In case of "h4, h5, h6" There is a paragraph mark, but it is not displayed because there is no setting to display.
As "h4, h5, h6" is also the beginning of a paragraph like "h1, h2, h3", a paragraph mark should be displayed.
Files
You can solve this problem by adding a CSS selector like this:
diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css
index 369526a9a..c5aeba8b2 100644
--- a/public/stylesheets/application.css
+++ b/public/stylesheets/application.css
@@ -1126,7 +1126,7 @@ div.wiki ul.toc a:hover { color: #c61a1a; text-decoration: underline;}
a.wiki-anchor { display: none; margin-left: 6px; text-decoration: none; }
a.wiki-anchor:hover { color: #aaa !important; text-decoration: none; }
-h1:hover a.wiki-anchor, h2:hover a.wiki-anchor, h3:hover a.wiki-anchor { display: inline; color: #ddd; }
+h1:hover a.wiki-anchor, h2:hover a.wiki-anchor, h3:hover a.wiki-anchor, h4:hover a.wiki-anchor, h5:hover a.wiki-anchor, h6:hover a.wiki-anchor { display: inline; color: #ddd; }
div.wiki img {vertical-align:middle; max-width:100%;}
- Status changed from New to Confirmed
- Target version set to 3.3.7
Thanks for catching the issue, setting target version to 3.3.7.
- Status changed from Confirmed to Closed
- Assignee set to Go MAEDA
- Resolution set to Fixed
Committed to the trunk and merged to stable branches. Thank you for improving Redmine.
- Subject changed from Paragraph mark is not displayed when h4, h5, and h6 to h4, h5 and h6 headings on wiki pages should have a paragraph mark
Also available in: Atom
PDF