Merge pull request #1916 from opf/fix/14596-details-pane-long-attributes

Fixes for wp attributes layout with long values [fixup]
pull/1917/head
ulferts 10 years ago
commit 97ace23921
  1. 4
      app/assets/stylesheets/content/_work_packages.sass
  2. 4
      public/templates/work_packages/tabs/overview.html

@ -201,9 +201,7 @@ div
li
margin: 0 0 25px 0
padding: 0
+flex-grow(1)
min-width: 33%
max-width: 33%
+flex(1 0 33%)
&.detail-panel-attributes-toggler
float: left

@ -22,7 +22,9 @@
</span>
<span ng-switch-when="version"><a ng-href="{{propertyData.value.href}}">{{propertyData.value.title}}</a></span>
<span ng-switch-when="category">{{ propertyData.value.props.name }}</span>
<span ng-switch-default ng-bind="(propertyData.value !== undefined) ? propertyData.value : '-'"/>
<span ng-switch-default
ng-bind="(propertyData.value !== undefined) ? propertyData.value : '-'"
ng-attr-title="{{propertyData.value}}"/>
</div>
</div>
</li>

Loading…
Cancel
Save