Skip to content

Commit

Permalink
Update css class name for improved consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
andrzejkupczyk committed Mar 21, 2024
1 parent 51ae785 commit 828b2ac
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,10 @@
position: fixed;
right: 18px;
bottom: 45px;
&--customized {
width: 300px;
}
}

.desktopArticleVideoWrapperScrollPlayerCustomized {
width: 300px;
}

.isWideVariant {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export const DesktopArticleVideoPlayerContent: React.FC<DesktopArticleVideoPlaye
className={clsx({
[styles.desktopArticleVideoWrapper]: !isScrollPlayer,
[styles.desktopArticleVideoWrapperScrollPlayer]: isScrollPlayer,
[styles['desktopArticleVideoWrapperScrollPlayer--customized']]: isScrollPlayer && shouldCustomizeBehavior,
[styles.desktopArticleVideoWrapperScrollPlayerCustomized]: isScrollPlayer && shouldCustomizeBehavior,
[styles.isWideVariant]: shouldRenderWideOnScrollPlayer,
})}
>
Expand Down

0 comments on commit 828b2ac

Please sign in to comment.