From 17a8c0cb7630fd9bbb537ab9271f29469d7d3904 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1rton=20Lente?= Date: Thu, 3 Apr 2025 13:09:10 +0200 Subject: [PATCH] UI: Add template style overrides for user badges --- templates/custom/header.tmpl | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/templates/custom/header.tmpl b/templates/custom/header.tmpl index 5693df4..5e604df 100644 --- a/templates/custom/header.tmpl +++ b/templates/custom/header.tmpl @@ -186,6 +186,21 @@ #navbar .dropdown .item { justify-content: flex-start; } + + /* User badges */ + .user-badges { + /* Some rules override Gitea defaults. */ + display: flex; + flex-wrap: wrap; + justify-content: center; + gap: 16px; /* --spacer */ + padding: 0; + width: 100%; + } + + .user-badges li { + list-style: none; + }