File tree Expand file tree Collapse file tree 3 files changed +22
-23
lines changed
packages/web/src/components Expand file tree Collapse file tree 3 files changed +22
-23
lines changed Original file line number Diff line number Diff line change @@ -639,20 +639,22 @@ export const GatedContentSection = ({
639
639
mouseEnterDelay = { 0.1 }
640
640
component = 'span'
641
641
>
642
- < h2
643
- className = { styles . gatedContentOwner }
644
- onClick = { ( ) =>
645
- dispatch ( pushRoute ( profilePage ( emptyStringGuard ( entity . handle ) ) ) )
646
- }
647
- >
648
- { entity . name }
642
+ < Flex gap = 'xs' alignItems = 'center' >
643
+ < h2
644
+ className = { styles . gatedContentOwner }
645
+ onClick = { ( ) =>
646
+ dispatch ( pushRoute ( profilePage ( emptyStringGuard ( entity . handle ) ) ) )
647
+ }
648
+ >
649
+ { entity . name }
650
+ </ h2 >
649
651
< UserBadges
650
652
userId = { entity . user_id }
651
653
className = { styles . badgeIcon }
652
654
badgeSize = { 14 }
653
655
useSVGTiers
654
656
/>
655
- </ h2 >
657
+ </ Flex >
656
658
</ ArtistPopover >
657
659
) ,
658
660
[ dispatch ]
@@ -661,7 +663,7 @@ export const GatedContentSection = ({
661
663
if ( ! streamConditions ) return null
662
664
if ( ! shouldDisplay ) return null
663
665
664
- if ( hasStreamAccess ) {
666
+ if ( ! hasStreamAccess ) {
665
667
return (
666
668
< div className = { cn ( styles . gatedContentSection , fadeIn , wrapperClassName ) } >
667
669
< UnlockedGatedContentSection
Original file line number Diff line number Diff line change 1
1
.container {
2
2
display : flex;
3
3
overflow : visible;
4
+ gap : 4px ;
4
5
}
5
6
6
- .container svg ,
7
- .inlineContainer svg {
7
+ .inlineContainer svg : first-child {
8
8
margin-right : 4px !important ;
9
9
}
Original file line number Diff line number Diff line change @@ -101,19 +101,16 @@ const UserBadges = ({
101
101
102
102
if ( ! hasContent ) return null
103
103
104
- if ( inline ) {
105
- return (
106
- < span className = { cn ( styles . inlineContainer , className ) } >
107
- { ( isVerifiedOverride ?? isVerified ) && (
108
- < IconVerified height = { badgeSize } width = { badgeSize } />
109
- ) }
110
- { audioBadge &&
111
- cloneElement ( audioBadge , { height : badgeSize , width : badgeSize } ) }
112
- </ span >
113
- )
114
- }
115
104
return (
116
- < span className = { cn ( styles . container , className ) } >
105
+ < span
106
+ className = { cn (
107
+ {
108
+ [ styles . inlineContainer ] : inline ,
109
+ [ styles . container ] : ! inline
110
+ } ,
111
+ className
112
+ ) }
113
+ >
117
114
{ ( isVerifiedOverride ?? isVerified ) && (
118
115
< IconVerified height = { badgeSize } width = { badgeSize } />
119
116
) }
You can’t perform that action at this time.
0 commit comments