Clamp the maximum width and height of user images. This ensures they can't
get too big but means we don't get any upscaling.
This commit is contained in:
parent
92339552d1
commit
6ee7bc57f1
1 changed files with 4 additions and 2 deletions
|
@ -706,11 +706,13 @@ abbr.geo {
|
||||||
}
|
}
|
||||||
|
|
||||||
img.user_image {
|
img.user_image {
|
||||||
width: 100px;
|
max-width: 100px;
|
||||||
|
max-height: 100px;
|
||||||
border: 1px solid black;
|
border: 1px solid black;
|
||||||
}
|
}
|
||||||
|
|
||||||
img.user_thumbnail {
|
img.user_thumbnail {
|
||||||
width: 50px;
|
max-width: 50px;
|
||||||
|
max-height: 100px;
|
||||||
border: 1px solid black;
|
border: 1px solid black;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue