fix: used a new classname for banner container earlier one was in ad block list (#8433)

* fix: used a new classname for banner container earlier one was in ad block list

* chore: minor comment added

* chore: minor comment added
This commit is contained in:
Sahil Khan 2025-07-04 13:50:32 +05:30 committed by GitHub
parent 121debcecc
commit 2f5640b2e6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 2 deletions

View File

@ -1,4 +1,7 @@
.app-banner-container { // Earlier we were having app-banner-container class
// we change it to app-banner-wrapper as the adblocker was blocking the app-banner-container class
// Keep an eye on What classnames are used in the codebase
.app-banner-wrapper {
position: relative; position: relative;
width: 100%; width: 100%;
} }

View File

@ -613,7 +613,7 @@ function AppLayout(props: AppLayoutProps): JSX.Element {
</Helmet> </Helmet>
{isLoggedIn && ( {isLoggedIn && (
<div className={cx('app-banner-container')}> <div className={cx('app-banner-wrapper')}>
{SHOW_TRIAL_EXPIRY_BANNER && ( {SHOW_TRIAL_EXPIRY_BANNER && (
<div className="trial-expiry-banner"> <div className="trial-expiry-banner">
You are in free trial period. Your free trial will end on{' '} You are in free trial period. Your free trial will end on{' '}