refactor: cleanup

This commit is contained in:
Johannes Millan 2020-06-25 14:44:39 +02:00
parent 118ec76ad6
commit f99cfa3e41
2 changed files with 6 additions and 20 deletions

View file

@ -1,6 +1,5 @@
import {ChangeDetectionStrategy, Component, Input} from '@angular/core';
import {TaskService} from '../../task.service';
import {ProjectService} from '../../../project/project.service';
import {LayoutService} from '../../../../core-ui/layout/layout.service';
import {delay, switchMap} from 'rxjs/operators';
import {of} from 'rxjs';
@ -12,6 +11,7 @@ import {of} from 'rxjs';
changeDetection: ChangeDetectionStrategy.OnPush
})
export class TaskAdditionalInfoWrapperComponent {
// NOTE: used for debugging
@Input() isAlwaysOver = false;
// to still display its data when panel is closing
@ -24,7 +24,6 @@ export class TaskAdditionalInfoWrapperComponent {
constructor(
public taskService: TaskService,
public projectService: ProjectService,
public layoutService: LayoutService,
) {
}

View file

@ -24,8 +24,6 @@ progress-bar {
}
.wrapper {
// 1px for the border
//margin: 0 1px 0;
transition: $transition-standard;
@media (max-width: $layout-xs) {
@ -42,23 +40,17 @@ progress-bar {
position: sticky;
background: inherit;
top: 0;
//margin-top: -4px;
//margin-right: -4px;
//margin-left: -4px;
//margin-bottom: $s+4;
//margin-bottom: $s;
padding: 0 $s;
z-index: 44;
@include lightTheme() {
background: #fff;
//box-shadow: $whiteframe-shadow-1dp;
//border-bottom: 0px solid $light-theme-extra-border-color;
//border-bottom: 1px solid $c-primary;
}
@include darkTheme() {
//background: $dark-theme-bg-lighter;
//border-bottom: 1px solid $c-primary;
}
//@include darkTheme() {
// //background: $dark-theme-bg-lighter;
// //border-bottom: 1px solid $dark-theme-extra-border-color;
//}
}
.task-title {
@ -78,10 +70,5 @@ progress-bar {
&:focus {
transform: scale(1);
}
&:after {
//display: none !important;
}
}