Let text fields span whole width (#6189)

[ci skip]
pull/6196/head
Henriette Dinger 7 years ago committed by Oliver Günther
parent 8b66cb7c81
commit 22557acb22
  1. 3
      app/assets/stylesheets/content/work_packages/inplace_editing/_edit_fields.sass
  2. 3
      frontend/app/components/work-packages/wp-single-view/wp-single-view.html

@ -46,3 +46,6 @@
p
// Add some margin to paragraphs in long-text fields
margin-bottom: 1em
.wp-edit-field--text
width: 100%

@ -121,7 +121,8 @@
</wp-edit-field>
<wp-edit-field *ngIf="!descriptor.field.isFormattable"
[workPackageId]="workPackage.id"
[fieldName]="descriptor.name">
[fieldName]="descriptor.name"
[ngClass]="descriptor.field.type === 'text' ? 'wp-edit-field--text' : '' ">
</wp-edit-field>
</div>
<div

Loading…
Cancel
Save