diff --git a/app/views/projects/commit/_signature_badge.html.haml b/app/views/projects/commit/_signature_badge.html.haml
index 8e09a9333aa64bb1a8e564648576c4ebc87777b4..d6ece085f18b0b94cf354d24fccf2caaf9fb2ea3 100644
--- a/app/views/projects/commit/_signature_badge.html.haml
+++ b/app/views/projects/commit/_signature_badge.html.haml
@@ -9,7 +9,8 @@
     = content
 
   GPG Key ID:
-  = signature.gpg_key_primary_keyid
+  %span.monospace= signature.gpg_key_primary_keyid
+
 
   = link_to('Learn more about signing commits', help_page_path('workflow/gpg_signed_commits/index.md'), class: 'gpg-popover-help-link')