mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-11 02:12:21 -05:00
Updated user cover and profile image position
refs. https://github.com/TryGhost/Team/issues/3351
This commit is contained in:
parent
2fe6ccbc22
commit
c6a5ada5cc
1 changed files with 2 additions and 2 deletions
|
@ -540,7 +540,7 @@ const UserDetailModal:React.FC<UserDetailModalProps> = ({user, updateUser}) => {
|
|||
fileUploadClassName={fileUploadButtonClasses}
|
||||
height={userData.cover_image ? '100%' : '32px'}
|
||||
id='cover-image'
|
||||
imageClassName='absolute inset-0 bg-cover group'
|
||||
imageClassName='absolute inset-0 bg-cover group bg-center'
|
||||
imageURL={userData.cover_image || ''}
|
||||
onDelete={() => {
|
||||
handleImageDelete('cover_image');
|
||||
|
@ -559,7 +559,7 @@ const UserDetailModal:React.FC<UserDetailModalProps> = ({user, updateUser}) => {
|
|||
fileUploadClassName='rounded-full bg-black flex items-center justify-center opacity-80 transition hover:opacity-100 -ml-2 cursor-pointer'
|
||||
height='80px'
|
||||
id='avatar'
|
||||
imageClassName='relative rounded-full group bg-cover -ml-2'
|
||||
imageClassName='relative rounded-full group bg-cover bg-center -ml-2'
|
||||
imageURL={userData.profile_image}
|
||||
width='80px'
|
||||
onDelete={() => {
|
||||
|
|
Loading…
Add table
Reference in a new issue