Skip to content

Commit

Permalink
chore: LemonSelect caret position
Browse files Browse the repository at this point in the history
  • Loading branch information
daibhin committed Dec 5, 2023
1 parent ce09b80 commit f316525
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions frontend/src/lib/lemon-ui/LemonSelect/LemonSelect.scss
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,8 @@ body:not(.posthog-3000) {
}
}
}

.LemonButton.LemonSelect {
--lemon-button-gap: 0.1875rem;
}
}
2 changes: 1 addition & 1 deletion frontend/src/lib/lemon-ui/LemonSelect/LemonSelect.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ export function LemonSelect<T extends string | number | boolean | null>({
closeParentPopoverOnClickInside={menu?.closeParentPopoverOnClickInside}
>
<LemonButton
className={clsx(className, isClearButtonShown && 'LemonSelect--clearable')}
className={clsx(className, 'LemonSelect', isClearButtonShown && 'LemonSelect--clearable')}
icon={activeLeaf?.icon}
// so that the pop-up isn't shown along with the close button
sideIcon={isClearButtonShown ? <></> : undefined}
Expand Down

0 comments on commit f316525

Please sign in to comment.