File tree Expand file tree Collapse file tree 2 files changed +7
-8
lines changed Expand file tree Collapse file tree 2 files changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -15,9 +15,6 @@ export const MarketplaceFooter = () => {
15
15
const isLoggedIn = useSelector ( isUserLoggedIn ) ;
16
16
const currentUserSiteCount = useSelector ( getCurrentUserSiteCount ) ;
17
17
const sectionName = useSelector ( getSectionName ) ;
18
- const classes = clsx ( styles [ 'marketplace-footer' ] , {
19
- [ styles [ 'is-logged-in' ] ] : isLoggedIn ,
20
- } ) ;
21
18
22
19
const startUrl = addQueryArgs (
23
20
{
@@ -27,10 +24,12 @@ export const MarketplaceFooter = () => {
27
24
) ;
28
25
29
26
return (
30
- < div className = { classes } >
27
+ < div className = { styles [ 'marketplace-footer' ] } >
31
28
< Section
32
29
header = { preventWidows ( __ ( 'You pick the plugin. We’ll take care of the rest.' ) ) }
33
- className = { styles [ 'marketplace-footer__section' ] }
30
+ className = { clsx ( styles [ 'marketplace-footer__section' ] , {
31
+ [ styles [ 'is-logged-in' ] ] : isLoggedIn ,
32
+ } ) }
34
33
>
35
34
{ ( ! isLoggedIn || currentUserSiteCount === 0 ) && (
36
35
< Button primary className = { styles [ 'marketplace-footer__cta' ] } href = { startUrl } >
Original file line number Diff line number Diff line change 6
6
& .marketplace-footer__section ::before {
7
7
background-color : var ( --studio-gray-0 );
8
8
}
9
+ }
9
10
10
- & : not (.is-logged-in ) .marketplace-footer__section {
11
- padding-bottom : 32px ;
12
- }
11
+ .marketplace-footer__section .is-logged-in {
12
+ padding-bottom : 32px ;
13
13
}
14
14
15
15
.marketplace-footer__cta {
You can’t perform that action at this time.
0 commit comments