mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-07-25 08:53:50 +00:00
feat(taskSidebar): move close button always to the very right
This commit is contained in:
parent
cb9a974e12
commit
df13cbe067
1 changed files with 11 additions and 10 deletions
|
|
@ -176,16 +176,6 @@
|
|||
[title]="T.F.TASK.CMP.EDIT_REMINDER|translate">
|
||||
<mat-icon>alarm</mat-icon>
|
||||
</button>
|
||||
<button (click)="toggleShowAdditionalInfoOpen()"
|
||||
*ngIf="task.notes||task.issueData||isSelected"
|
||||
class="ico-btn show-additional-info-btn"
|
||||
color=""
|
||||
mat-icon-button
|
||||
tabindex="2"
|
||||
[title]="T.F.TASK.CMP.TOGGLE_ADDITIONAL|translate">
|
||||
<mat-icon *ngIf="!isSelected">chat</mat-icon>
|
||||
<mat-icon *ngIf="isSelected">close</mat-icon>
|
||||
</button>
|
||||
|
||||
<button (click)="toggleShowAttachments()"
|
||||
*ngIf="task.attachmentIds?.length || (task.issueType==='JIRA' && task.issueData && task.issueData['attachments']?.length)"
|
||||
|
|
@ -197,6 +187,17 @@
|
|||
<mat-icon>attach_file</mat-icon>
|
||||
</button>
|
||||
|
||||
<button (click)="toggleShowAdditionalInfoOpen()"
|
||||
*ngIf="task.notes||task.issueData||isSelected"
|
||||
class="ico-btn show-additional-info-btn"
|
||||
color=""
|
||||
mat-icon-button
|
||||
tabindex="2"
|
||||
[title]="T.F.TASK.CMP.TOGGLE_ADDITIONAL|translate">
|
||||
<mat-icon *ngIf="!isSelected">chat</mat-icon>
|
||||
<mat-icon *ngIf="isSelected">close</mat-icon>
|
||||
</button>
|
||||
|
||||
<button [matMenuTriggerFor]="menu"
|
||||
[style.pointer-events]="isContextMenuDisabled ? 'none' : 'all'"
|
||||
(menuOpened)="isContextMenuDisabled = true"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue