mirror of
https://github.com/block/buzz.git
synced 2026-08-18 06:50:31 +02:00
Restore channel date divider rule (#1395)
This commit is contained in:
@@ -2,7 +2,7 @@ export function DayDivider({ label }: { label: string }) {
|
||||
return (
|
||||
<section
|
||||
aria-label={label}
|
||||
className="sticky top-(--buzz-channel-content-top-padding,5.75rem) z-[5] flex justify-center"
|
||||
className="sticky top-(--buzz-channel-content-top-padding,5.75rem) z-[5] flex justify-center before:absolute before:inset-x-0 before:top-1/2 before:h-px before:-translate-y-1/2 before:bg-border/35 before:content-['']"
|
||||
data-testid="message-timeline-day-divider"
|
||||
data-day-label={label}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user