Fix username style in profile popover (#26086)

This commit is contained in:
Daniel Espino García 2024-02-03 09:41:55 +01:00 committed by GitHub
parent 2a3a9df043
commit 2a6d5a1da5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -13,7 +13,7 @@ const UserName = ({
hasFullName,
username,
}: Props) => {
const userNameClass = classNames('overflow--ellipsis pb-1', {'user-profile-popover__heading': hasFullName});
const userNameClass = classNames('overflow--ellipsis pb-1', {'user-profile-popover__heading': !hasFullName});
return (
<div
id='userPopoverUsername'