Skip to content

Scheduling infrastructure for absolutely everyone.

fix: fix the fluctuations in sidebar when we scroll main content (#13115)

Rahil Ansaridfe03efc378e
diff --git a/packages/ui/components/top-banner/TopBanner.tsx b/packages/ui/components/top-banner/TopBanner.tsx
index 69646b1441a..2675b0748c3 100644
--- a/packages/ui/components/top-banner/TopBanner.tsx
+++ b/packages/ui/components/top-banner/TopBanner.tsx
@@ -46,7 +46,7 @@ export function TopBanner(props: TopBannerProps) {
"flex w-full items-start justify-between gap-8 px-4 py-2 text-center lg:items-center",
variantClassName[variant]
)}>
- <div className="flex flex-1 flex-col items-start justify-center gap-2 p-1 lg:flex-row lg:items-center">
+ <div className="flex flex-1 flex-col items-start justify-center gap-2 px-1 py-0.5 lg:flex-row lg:items-center">
<p className="text-emphasis flex flex-col items-start justify-center gap-2 text-left font-sans text-sm font-medium leading-4 lg:flex-row lg:items-center">
{Icon ? <Icon data-testid="variant-default" {...defaultIconProps} /> : defaultIcon}
{text}