Skip to content

Commit 8e11c32

Browse files
authored
fix(resource-menu): consistent height between 1 result and no results (#4007)
1 parent 64c6cd9 commit 8e11c32

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

apps/sim/app/workspace/[workspaceId]/home/components/mothership-view/components/add-resource-dropdown/add-resource-dropdown.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ export function AddResourceDropdown({
216216
)
217217
})
218218
) : (
219-
<div className='px-2 py-[5px] text-center font-medium text-[var(--text-tertiary)] text-caption'>
219+
<div className='px-2 py-1.5 text-center font-medium text-[var(--text-tertiary)] text-caption'>
220220
No results
221221
</div>
222222
)

apps/sim/app/workspace/[workspaceId]/home/components/user-input/components/plus-menu-dropdown.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ export const PlusMenuDropdown = React.memo(
183183
)
184184
})
185185
) : (
186-
<div className='px-2 py-[5px] text-center font-medium text-[12px] text-[var(--text-tertiary)]'>
186+
<div className='px-2 py-1.5 text-center font-medium text-[12px] text-[var(--text-tertiary)]'>
187187
No results
188188
</div>
189189
)

0 commit comments

Comments
 (0)