プロジェクト

全般

プロフィール

Vote #79201

完了

h4, h5 and h6 headings on wiki pages should have a paragraph mark

Admin Redmine さんが約2年前に追加. 約2年前に更新.

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
Text formatting_26
対象バージョン:
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
26
version_id:
138
issue_org_id:
28331
author_id:
259873
assigned_to_id:
332
comments:
6
status_id:
5
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

When you enter "h1, h2, h3" paragraph begins from there, and paragraph mark (¶) will be displayed by mouse hover.
!{width: 50%; border:1px solid #ccc}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.


journals

You can solve this problem by adding a CSS selector like this:
<pre><code class="diff">
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%;}
</code></pre>
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Thanks for catching the issue, setting target version to 3.3.7.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Committed to the trunk and merged to stable branches. Thank you for improving Redmine.

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------


related_issues

relates,Closed,28392,Improve wiki headings style
relates,Closed,1647,No Anchor Support on Wiki pages

Admin Redmine さんが約2年前に更新

  • カテゴリText formatting_26 にセット
  • 対象バージョン3.3.7_138 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0