Skip to content

Commit 84dc3b7

Browse files
committed
fix: side rail ad not collapsing fully (again)
1 parent 0df8b05 commit 84dc3b7

File tree

1 file changed

+1
-1
lines changed
  • web/src/modules/shared/components/client/ads

1 file changed

+1
-1
lines changed

web/src/modules/shared/components/client/ads/AdSlots.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ export const SideRailAdSlot = ({ className }: { className?: string }) => {
122122
// height with this class: "max-h-[calc(100vh-9rem)]", but then the container doesn't fit to
123123
// the ad content height, always occupying the full viewport height instead. So we use 'max-w-fit'
124124
// to cap the max height to that of the ad.
125-
'flex-0 sticky mb-8 top-24 min-h-96 max-h-fit hidden xl:block w-36 min-w-36 bg-zinc-800/50 rounded-xl',
125+
'flex-0 sticky mb-8 top-24 max-h-fit hidden xl:block w-36 min-w-36 bg-zinc-800/50 rounded-xl',
126126
className,
127127
)}
128128
adSlot='4995642586'

0 commit comments

Comments
 (0)