Working with a icon-void and margin-left on the column header

pull/8599/head
Aleix Suau 4 years ago
parent c1e47eaf88
commit 176d4e8033
  1. 4
      frontend/src/app/modules/fields/display/field-types/date-display-field.module.ts
  2. 2
      frontend/src/global_styles/content/_table.sass
  3. 8
      frontend/src/global_styles/content/work_packages/inplace_editing/_display_fields.sass

@ -44,9 +44,7 @@ export class DateDisplayField extends HighlightableDisplayField {
const schedulingIcon = document.createElement('span');
schedulingIcon.classList.add('icon-context');
if (this.resource.scheduleManually) {
schedulingIcon.classList.add('icon-pin');
}
schedulingIcon.classList.add(this.resource.scheduleManually ? 'icon-pin' : 'icon-void');
element.prepend(schedulingIcon);
}

@ -260,6 +260,8 @@ thead.-sticky th
flex: 0 0 0
padding-left: 15px
#startDate
margin-left: 24px
.generic-table--sort-header-outer
.dropdown-indicator

@ -100,6 +100,14 @@
.-placeholder
@include wp-table--placeholder-time-values
.wp-table--cell-container .startDate .icon-void
width: 24px
display: inline-block
.wp-table--cell-container .dueDate .icon-pin
display: none
// Sums in wp table
.wp-table--sum-container.split-time-field
.-actual-value

Loading…
Cancel
Save