Vote #81791
完了Text custom field values are not aligned with their labels when text formatting is enabled
0%
説明
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.
!{width: 398px; border: 1px solid grey;}.custom-value-is-not-aligned-with-label.png!
journals
The patch below fixes the issue. Setting the target version to 4.1.6.
<pre><code class="diff">
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}
</code></pre>
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
related_issues
relates,Closed,35642,Long text custom field values are not aligned with their labels