fix: fix the fluctuations in sidebar when we scroll main content (#13115)
* fix the fluctuations in sidebar when we scroll main content * fix: reduced vertical padding instead of TOP_BANNER_HEIGHT --------- Co-authored-by: Udit Takkar <53316345+Udit-takkar@users.noreply.github.com>
This commit is contained in:
parent
0eabb56f07
commit
dfe03efc37
|
@ -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}
|
||||
|
|
Loading…
Reference in New Issue
Block a user