Skip to content

The Unified and Autonomous Development Platform

fix(issue-comment-panel): wrap history link in enclosure for better layout

Robin Shen1675319afc0b
diff --git a/server-core/src/main/java/io/onedev/server/web/component/issue/activities/activity/IssueCommentPanel.html b/server-core/src/main/java/io/onedev/server/web/component/issue/activities/activity/IssueCommentPanel.html
index 164f3734fd..f9d601c974 100644
--- a/server-core/src/main/java/io/onedev/server/web/component/issue/activities/activity/IssueCommentPanel.html
+++ b/server-core/src/main/java/io/onedev/server/web/component/issue/activities/activity/IssueCommentPanel.html
@@ -12,7 +12,9 @@
</div>
</div>
<wicket:fragment wicket:id="historyFrag">
+ <wicket:enclosure child="history">
<span class="d-first-child-none dot mr-2"></span>
<a wicket:id="history" class="text-muted text-hover-primary mr-2"><wicket:t>History</wicket:t></a>
+ </wicket:enclosure>
</wicket:fragment>
-</wicket:panel>
\ No newline at end of file
+</wicket:panel>