Skip to content

Commit

Permalink
Slack: Fix channels picker being too tall
Browse files Browse the repository at this point in the history
  • Loading branch information
richardguerre committed Sep 25, 2024
1 parent 8d47810 commit 5ef8475
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion plugins/slack/src/web.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ export default definePlugin((opts) => {
<Flow.ComboboxContent
align="start"
side="bottom"
className="max-h-96 overflow-y-auto"
commandProps={{
filter: (channelId, search) => {
// return 1 if the channel matches the search, 0 otherwise
Expand All @@ -195,7 +196,7 @@ export default definePlugin((opts) => {
className="flex items-center justify-between gap-2"
>
<div className="flex items-center gap-2">
<img src={channel.team.icon} className="h-5 w-5 shrink-0" />
<img src={channel.team.icon} className="h-5 w-5 shrink-0 rounded" />
<span className="max-w-48 truncate">#{channel.name}</span>
</div>
<Flow.ComboboxSelected
Expand Down

0 comments on commit 5ef8475

Please sign in to comment.