Skip to content

Commit

Permalink
teams: smoother tasks (fixes #6673) (#7752)
Browse files Browse the repository at this point in the history
Co-authored-by: Mutugi <[email protected]>
Co-authored-by: dogi <[email protected]>
  • Loading branch information
3 people authored Nov 11, 2024
1 parent 3cebce4 commit 228b3c4
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"name": "planet",
"license": "AGPL-3.0",
"version": "0.15.40",
"version": "0.15.41",
"myplanet": {
"latest": "v0.20.90",
"min": "v0.19.90"
"latest": "v0.20.94",
"min": "v0.19.94"
},
"scripts": {
"ng": "ng",
Expand Down
2 changes: 1 addition & 1 deletion src/app/teams/teams-member.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
</button>
</mat-menu>
</mat-card-header>
<mat-card-content *ngIf="member?.tasks && member?.tasks.length > 0">
<mat-card-content class="mat-card-tasks" *ngIf="member?.tasks && member?.tasks.length > 0">
<span class="mat-caption" i18n>Tasks</span>
<mat-selection-list (selectionChange)="toggleTask($event)" [disabled]="userStatus !== 'member'" [disableRipple]="userStatus !== 'member'">
<mat-list-option checkboxPosition="before" *ngFor="let task of member?.tasks" [selected]="task.completed" [value]="task">
Expand Down
7 changes: 7 additions & 0 deletions src/app/teams/teams-member.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@ import { UserProfileDialogComponent } from '../users/users-profile/users-profile
.mat-list-item-disabled {
background-color: white;
}
.mat-card-tasks {
padding-top: 20px;
}
.mat-caption {
font-size: 16px;
font-weight: bold;
}
` ]
})
export class TeamsMemberComponent implements OnInit, OnChanges {
Expand Down

0 comments on commit 228b3c4

Please sign in to comment.