Defect #36455
Text custom field values are not aligned with their labels when text formatting is enabled
Status: | Closed | Start date: | ||
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | % Done: | 0% | ||
Category: | Issues | |||
Target version: | 4.1.6 | |||
Resolution: | Fixed | Affected version: |
Description
The value of a text type custom field with text formatting enabled is not aligned with the label. This is essentially the same problem with #35642.
Related issues
Associated revisions
Text custom field values are not aligned with their labels when text formatting is enabled (#36455).
Patch by Go MAEDA.
History
#1
Updated by Go MAEDA 4 months ago
- Target version set to 4.1.6
The patch below fixes the issue. Setting the target version to 4.1.6.
diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css
index 4e998c11e..6ef5f8ef8 100644
--- a/public/stylesheets/application.css
+++ b/public/stylesheets/application.css
@@ -542,6 +542,7 @@ div.issue .attributes {margin-top: 2em;}
div.issue .attributes .attribute {padding-left:180px; clear:left; min-height: 1.8em;}
div.issue .attributes .attribute .label {width: 170px; margin-left:-180px; font-weight:bold; float:left; overflow:hidden; text-overflow: ellipsis;}
div.issue .attribute .value {overflow:auto; text-overflow: ellipsis;}
+div.issue .attribute.string_cf .value .wiki p {margin-top: 0; margin-bottom: 0;}
div.issue .attribute.text_cf .value .wiki p:first-of-type {margin-top: 0;}
div.issue.overdue .due-date .value { color: #c22; }
body.controller-issues h2.inline-flex {padding-right: 0}
#2
Updated by Go MAEDA 4 months ago
- Related to Defect #35642: Long text custom field values are not aligned with their labels added