Skip to content

Commit

Permalink
fix(core): fix nested sided dropdown height
Browse files Browse the repository at this point in the history
  • Loading branch information
vladimirpotekhin committed Feb 22, 2024
1 parent b3a08b8 commit 689be00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion projects/core/directives/dropdown/dropdown.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ export class TuiDropdownComponent {
style.top = tuiPx(Math.max(top, offsetY + offset));
style.left = tuiPx(left);
style.maxHeight = sided
? `min(100%, ${maxHeight}px)`
? `${maxHeight}px`
: tuiPx(Math.min(maxHeight, Math.max(available, minHeight)));
style.width = '';
style.minWidth = '';
Expand Down

0 comments on commit 689be00

Please sign in to comment.