mirror of
https://dev.azure.com/hugendubel/ISA/_git/ISA-Frontend
synced 2025-12-28 22:42:11 +01:00
Merged PR 1871: fix(ui-dropdown): improve dropdown usability and conditional rendering
fix(ui-dropdown): improve dropdown usability and conditional rendering Refines the logic for displaying quantity and product category dropdowns in the return details order group item controls. Ensures dropdowns are only shown when appropriate and maintains accessibility and user experience. Ref: #5189
This commit is contained in:
committed by
Lorenz Hilpert
parent
1b26a44a37
commit
f051a97e53
@@ -10,7 +10,7 @@
|
||||
justify-content: space-between;
|
||||
|
||||
ng-icon {
|
||||
@apply size-6;
|
||||
@apply min-w-5 size-5 mt-[0.125rem];
|
||||
}
|
||||
|
||||
&.disabled {
|
||||
@@ -58,6 +58,10 @@
|
||||
}
|
||||
}
|
||||
|
||||
.ui-dropdown__text {
|
||||
@apply overflow-hidden text-ellipsis whitespace-nowrap;
|
||||
}
|
||||
|
||||
.ui-dropdown__options {
|
||||
// Fixed typo from ui-dorpdown__options
|
||||
display: inline-flex;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<span>{{ viewLabel() }}</span>
|
||||
<span [class]="['ui-dropdown__text']">{{ viewLabel() }}</span>
|
||||
<ng-icon [name]="isOpenIcon()"></ng-icon>
|
||||
|
||||
<ng-template
|
||||
|
||||
Reference in New Issue
Block a user