Skip to content

Commit ad0adc2

Browse files
committed
fix(web): contain shared combobox content
1 parent 57dce57 commit ad0adc2

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎apps/web/src/components/DiffPanel.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -617,7 +617,7 @@ export default function DiffPanel({
617617
</ComboboxTrigger>
618618
<ComboboxPopup
619619
align="start"
620-
className="w-72 min-w-0 max-w-[calc(100vw-1rem)] overflow-hidden [&>[data-slot=combobox-popup]]:min-w-0 [&>[data-slot=combobox-popup]]:overflow-hidden"
620+
className="w-72 min-w-0 max-w-[calc(100vw-1rem)] overflow-hidden"
621621
>
622622
<div className="min-w-0 shrink-0 px-3 pt-2.5">
623623
<div className="relative -translate-y-px border-b border-border/70 pb-1.5 transition-colors focus-within:border-ring">

‎apps/web/src/components/Sidebar.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3588,7 +3588,7 @@ export default function Sidebar() {
35883588
</ComboboxTrigger>
35893589
<ComboboxPopup
35903590
align="start"
3591-
className="w-(--anchor-width) min-w-0 overflow-hidden [&>[data-slot=combobox-popup]]:min-w-0 [&>[data-slot=combobox-popup]]:overflow-hidden"
3591+
className="w-(--anchor-width) min-w-0 overflow-hidden"
35923592
>
35933593
<div className="shrink-0 px-3 pt-2.5">
35943594
<div className="relative -translate-y-px border-b border-border/70 pb-1.5 transition-colors focus-within:border-ring">

‎apps/web/src/components/ui/combobox.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ function ComboboxPopup({
175175
)}
176176
>
177177
<ComboboxPrimitive.Popup
178-
className="flex max-h-[min(var(--available-height),23rem)] flex-1 flex-col text-foreground"
178+
className="flex min-w-0 max-h-[min(var(--available-height),23rem)] flex-1 flex-col overflow-hidden text-foreground"
179179
data-slot="combobox-popup"
180180
{...props}
181181
>

0 commit comments

Comments
 (0)