diff --git a/app/handlers/images.go b/app/handlers/images.go index 813165783..63e7a9d45 100644 --- a/app/handlers/images.go +++ b/app/handlers/images.go @@ -198,8 +198,8 @@ func Favicon() web.HandlerFunc { opts := []imagic.ImageOperation{} if size > 0 { + opts = append(opts, imagic.Padding(size*10/100)) opts = append(opts, imagic.Resize(size)) - opts = append(opts, imagic.Fit()) } if c.QueryParam("bg") != "" {