Skip to content

Commit 9cf918d

Browse files
committed
[NAE-1752] MatPrefix for currency field overrides prefix for dateField
- moved fxLayout attribute to correct element in task-panel.component.html to correctly display buttons on small screen
1 parent a1f3629 commit 9cf918d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

projects/netgrif-components/src/lib/panel/task-panel/task-panel.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,10 @@
5555
<div class="task-panel-body" [ngClass]="{'paper-view': isPaperView()}" fxFlex="100">
5656
<ng-template [cdkPortalOutlet]="portal"></ng-template>
5757
</div>
58-
<mat-action-row [ngStyle]="{'justify-content': actionRowJustifyContent ?? 'flex-end' }">
58+
<mat-action-row fxLayout.lt-sm="column" [ngStyle]="{'justify-content': actionRowJustifyContent ?? 'flex-end' }">
5959
<mat-spinner class='action-row-spinner' *ngIf="isLoading && hidePanelHeader"
6060
[diameter]="20"></mat-spinner>
61-
<div fxLayout.lt-sm="column" fxLayoutAlign.lt-sm="center stretch" ngClass.lt-sm="width-100"
61+
<div fxLayoutAlign.lt-sm="center stretch" ngClass.lt-sm="width-100"
6262
*ngFor='let button of (!!actionButtonTemplates && actionButtonTemplates.length > 0 ?
6363
actionButtonTemplates : [assignButton, delegateButton, reassignButton, cancelButton, finishButton, collapseButton])'>
6464
<ng-container *ngTemplateOutlet='button; context:thisContext'></ng-container>

0 commit comments

Comments
 (0)