]> git.ipfire.org Git - ipfire.org.git/commitdiff
avatars: Increase the margin around letters
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 7 Jan 2024 17:41:41 +0000 (17:41 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 7 Jan 2024 17:41:41 +0000 (17:41 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/web/users.py

index 204c608fd27e3540e13a8b120c7143cd5d62c317..b27c09a2bce539ec99f244a4594975926b3007ae 100644 (file)
@@ -126,8 +126,8 @@ class AvatarHandler(base.BaseHandler):
                        width += w
 
                # Add the margin
-               width  = int(width  * 1.5)
-               height = int(height * 1.5)
+               width  = int(width  * 1.75)
+               height = int(height * 1.75)
 
                # Generate an image of the correct size
                image = PIL.Image.new("RGBA", (width, height), COLOUR_LIGHT)