Skip to content

Commit 2e9245c

Browse files
Miexilaprentout
authored andcommitted
Updated: Smart::Select paddings and dropdown position
1 parent fa7ca86 commit 2e9245c

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

addon/components/o-s-s/smart/immersive/select.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ export default class OSSSmartImmersiveSelectComponent extends BaseDropdown<OSSSm
127127
this.cleanupDrodpownAutoplacement = attachDropdown(
128128
referenceTarget as HTMLElement,
129129
floatingTarget as HTMLElement,
130-
{ maxHeight: 300, maxWidth: 320, placementStrategy: 'auto' }
130+
{ maxHeight: 300, maxWidth: 320, placement: 'bottom-start', fallbackPlacements: ['top-start'] }
131131
);
132132
}
133133
}

app/styles/base/_infinite-select.less

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@
5454
border-radius: var(--border-radius-md);
5555
box-shadow: var(--box-shadow-md);
5656
padding: var(--spacing-px-6);
57+
gap: var(--spacing-px-6);
5758

5859
&.upf-power-select__dropdown  {
5960
overflow: auto;
@@ -66,7 +67,7 @@
6667
}
6768

6869
.upf-infinite-select--search {
69-
margin: var(--spacing-px-12);
70+
margin: var(--spacing-px-6);
7071
margin-bottom: var(--spacing-px-3);
7172
}
7273

0 commit comments

Comments
 (0)