summaryrefslogtreecommitdiffstats
path: root/models
diff options
context:
space:
mode:
Diffstat (limited to 'models')
-rw-r--r--models/avatars/avatar.go8
1 files changed, 6 insertions, 2 deletions
diff --git a/models/avatars/avatar.go b/models/avatars/avatar.go
index 61f0ac19c3..dec264cea4 100644
--- a/models/avatars/avatar.go
+++ b/models/avatars/avatar.go
@@ -20,8 +20,12 @@ import (
"code.gitea.io/gitea/modules/setting"
)
-// DefaultAvatarPixelSize is the default size in pixels of a rendered avatar
-const DefaultAvatarPixelSize = 28
+const (
+ // DefaultAvatarClass is the default class of a rendered avatar
+ DefaultAvatarClass = "ui avatar vm"
+ // DefaultAvatarPixelSize is the default size in pixels of a rendered avatar
+ DefaultAvatarPixelSize = 28
+)
// EmailHash represents a pre-generated hash map (mainly used by LibravatarURL, it queries email server's DNS records)
type EmailHash struct {