Consistent styling of description, watcher and comment

This re-applies the input styling for comment, and makes it
consistent across description and watcher fields.
pull/3463/head
Oliver Günther 9 years ago
parent c3589353cb
commit cce8c378a3
  1. 17
      app/assets/stylesheets/content/_in_place_editing.sass

@ -269,9 +269,12 @@ a.inplace-editing--trigger-link,
.icon-context::before .icon-context::before
padding: 0 padding: 0
// custom hack to have the jsToolbar in the same line as the "Description" title // custom hack to have the jsToolbar in the same line as the "Description" title
.inplace-edit.attribute-description .inplace-edit.attribute-description
.inplace-editing--container
border: 1px solid #eee
.inplace-edit--write .inplace-edit--write
margin-top: -48px margin-top: -48px
// for non-textile description we need to not overlap the 'Description' header // for non-textile description we need to not overlap the 'Description' header
@ -279,9 +282,17 @@ a.inplace-editing--trigger-link,
&.edit-strategy-textarea &.edit-strategy-textarea
margin-top: auto margin-top: auto
// Explicit styles for comment / input-esque trigger appearance
// Explicit styles for input-esque trigger appearance
.work-packages--activity--add-comment,
.work-package--watchers-lookup,
.inplace-edit.attribute-description
.inplace-editing--container
border: 1px solid #eee
.work-packages--activity--add-comment .work-packages--activity--add-comment
margin: 20px margin: 20px 0
.inplace-edit--read-value .inplace-edit--read-value
padding: 10px 5px padding: 10px 5px

Loading…
Cancel
Save