summaryrefslogtreecommitdiff
path: root/lib/gitlab/badge/template.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gitlab/badge/template.rb')
-rw-r--r--lib/gitlab/badge/template.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/gitlab/badge/template.rb b/lib/gitlab/badge/template.rb
index 97103e3f42c..9ac8f1c17f2 100644
--- a/lib/gitlab/badge/template.rb
+++ b/lib/gitlab/badge/template.rb
@@ -6,7 +6,8 @@ module Gitlab
# Abstract template class for badges
#
class Template
- MAX_KEY_SIZE = 128
+ MAX_KEY_TEXT_SIZE = 64
+ MAX_KEY_WIDTH = 512
def initialize(badge)
@entity = badge.entity