summaryrefslogtreecommitdiffstats
path: root/web_src
diff options
context:
space:
mode:
authortechknowlogick <techknowlogick@gitea.io>2022-08-17 19:25:25 -0400
committerGitHub <noreply@github.com>2022-08-18 02:25:25 +0300
commitd8e6c9912594dfa03d55a021d538b6b0bd0561ee (patch)
treebebedc28da71c6b284ea8a80b70cccf4d58d13d4 /web_src
parent208b4ee417c528f11583bb84f3f3481bfad12ac7 (diff)
downloadgitea-d8e6c9912594dfa03d55a021d538b6b0bd0561ee.tar.gz
gitea-d8e6c9912594dfa03d55a021d538b6b0bd0561ee.zip
Add badge capabilities to users (#20607)
Co-authored-by: silverwind <me@silverwind.io> Co-authored-by: zeripath <art27@cantab.net> Co-authored-by: John Olheiser <john.olheiser@gmail.com>
Diffstat (limited to 'web_src')
-rw-r--r--web_src/less/_user.less9
1 files changed, 9 insertions, 0 deletions
diff --git a/web_src/less/_user.less b/web_src/less/_user.less
index a9b6c02fb7..eb9e791d86 100644
--- a/web_src/less/_user.less
+++ b/web_src/less/_user.less
@@ -169,6 +169,15 @@
}
}
+.user-badges {
+ display: grid;
+ grid-template-columns: repeat(auto-fill, 64px);
+ gap: 2px;
+}
+
+.user-badges img {
+ object-fit: contain;
+}
#notification_div .tab.segment {
overflow-x: auto;
}