File tree Expand file tree Collapse file tree 1 file changed +9
-8
lines changed
ts/components/dialog/user-settings Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ const StyledProfileName = styled(Flex)`
91
91
}
92
92
` ;
93
93
94
- const StyledName = styled . p `
94
+ const StyledName = styled . div `
95
95
font-size: var(--font-size-xl);
96
96
line-height: 1.4;
97
97
font-weight: 700;
@@ -116,14 +116,15 @@ export const ProfileName = (props: { profileName: string; onClick: () => void })
116
116
< StyledProfileName $container = { true } $justifyContent = "center" $alignItems = "center" >
117
117
< StyledName data-testid = "your-profile-name" onClick = { onClick } >
118
118
{ profileName }
119
+ { showPro . show ? (
120
+ < ProIconButton
121
+ iconSize = { 'medium' }
122
+ dataTestId = "pro-badge-profile-name"
123
+ onClick = { showPro . cb }
124
+ style = { { display : 'inline-flex' , marginInlineStart : 'var(--margins-sm)' } }
125
+ />
126
+ ) : null }
119
127
</ StyledName >
120
- { showPro . show ? (
121
- < ProIconButton
122
- iconSize = { 'medium' }
123
- dataTestId = "pro-badge-profile-name"
124
- onClick = { showPro . cb }
125
- />
126
- ) : null }
127
128
</ StyledProfileName >
128
129
) ;
129
130
} ;
You can’t perform that action at this time.
0 commit comments