Fix styling
This commit is contained in:
1 parent
fef1abade8
commit
5ad0005692
2 files changed
+12
-4
No files matched your search
@@ -185,10 +185,13 @@ export default function ProfilePage({ user, onUserChange }) {
|
||||
onChange={uploadAvatar}
|
||||
/>
|
||||
<p className="hint">
|
||||
{formatTypes(avatarLimits.allowedMimeTypes)}. Max {formatBytes(avatarLimits.maxSizeBytes)}
|
||||
{avatarLimits.maxWidth && avatarLimits.maxHeight
|
||||
? `, up to ${avatarLimits.maxWidth}\u00d7${avatarLimits.maxHeight} px.`
|
||||
: '.'}
|
||||
{formatTypes(avatarLimits.allowedMimeTypes)}.
|
||||
<span className="hint-line">
|
||||
Max {formatBytes(avatarLimits.maxSizeBytes)}
|
||||
{avatarLimits.maxWidth && avatarLimits.maxHeight
|
||||
? `, up to ${avatarLimits.maxWidth}\u00d7${avatarLimits.maxHeight} px.`
|
||||
: '.'}
|
||||
</span>
|
||||
</p>
|
||||
{user.hasAvatar && (
|
||||
<button className="btn-danger-sm" type="button" onClick={removeAvatar}>
|
||||
|
||||
Reference in new issue
Block a user