Merged PR 1624: #4272 Menu Items Alignment and Display Icons Correctly if Creating New Process in Tablet View

#4272 Menu Items Alignment and Display Icons Correctly if Creating New Process in Tablet View
This commit is contained in:
Nino Righi
2023-09-06 15:42:58 +00:00
committed by Andreas Schickinger
parent 4e2be8e397
commit cf38eef3b8
2 changed files with 5 additions and 1 deletions

View File

@@ -77,15 +77,19 @@
<ng-template #menuTpl>
<div class="menu" cdkMenu>
<button cdkMenuItem class="menu-item" type="button" (click)="createProcess('product')">
<shared-icon class="mr-2" icon="import-contacts"></shared-icon>
Artikelsuche
</button>
<button cdkMenuItem class="menu-item" type="button" (click)="createProcess('customer')">
<shared-icon class="mr-2" icon="person"></shared-icon>
Kundensuche
</button>
<button *ifRole="'Store'" cdkMenuItem class="menu-item" type="button" (click)="createProcess('goods-out')">
<shared-icon class="mr-2" icon="unarchive"></shared-icon>
Warenausgabe
</button>
<button *ifRole="'CallCenter'" cdkMenuItem class="menu-item" type="button" (click)="createProcess('order')">
<shared-icon class="mr-2" icon="deployed-code"></shared-icon>
Kundenbestellungen
</button>
</div>

View File

@@ -29,7 +29,7 @@ module.exports = plugin(function ({ addComponents, theme, addBase, matchUtilitie
display: 'inline-flex',
flexDirection: 'row',
alignItems: 'center',
justifyContent: 'center',
justifyContent: 'left',
height: 'var(--menu-item-height)',
padding: 'var(--menu-item-padding)',
backgroundColor: 'var(--menu-background)',