aboutsummaryrefslogtreecommitdiffstats
path: root/templates/repo
diff options
context:
space:
mode:
authorKN4CK3R <admin@oldschoolhack.me>2023-04-29 21:43:01 +0200
committerGitHub <noreply@github.com>2023-04-29 15:43:01 -0400
commita18919bba6e7f56572b782ce00285960accbde87 (patch)
treed3cc30e6a2ef99f1fe36691f3866b804607f9ee8 /templates/repo
parentcc64a925602d54f3439dd19f16b5280bd0377a7a (diff)
downloadgitea-a18919bba6e7f56572b782ce00285960accbde87.tar.gz
gitea-a18919bba6e7f56572b782ce00285960accbde87.zip
Fix user-cards format (#24428)
Fixes #24418
Diffstat (limited to 'templates/repo')
-rw-r--r--templates/repo/user_cards.tmpl2
-rw-r--r--templates/repo/watchers.tmpl4
2 files changed, 4 insertions, 2 deletions
diff --git a/templates/repo/user_cards.tmpl b/templates/repo/user_cards.tmpl
index bc159f523a..fd9585b22d 100644
--- a/templates/repo/user_cards.tmpl
+++ b/templates/repo/user_cards.tmpl
@@ -1,4 +1,4 @@
-<div class="ui container user-cards">
+<div class="user-cards">
{{if .CardsTitle}}
<h2 class="ui dividing header">
{{.CardsTitle}}
diff --git a/templates/repo/watchers.tmpl b/templates/repo/watchers.tmpl
index ebd8f0faad..1828544c8c 100644
--- a/templates/repo/watchers.tmpl
+++ b/templates/repo/watchers.tmpl
@@ -1,6 +1,8 @@
{{template "base/head" .}}
<div role="main" aria-label="{{.Title}}" class="page-content repository watchers">
{{template "repo/header" .}}
- {{template "repo/user_cards" .}}
+ <div class="ui container">
+ {{template "repo/user_cards" .}}
+ </div>
</div>
{{template "base/footer" .}}