aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGiteabot <teabot@gitea.io>2023-04-29 22:05:34 -0400
committerGitHub <noreply@github.com>2023-04-29 22:05:34 -0400
commit7d7ba76c08b6f9d1d9f6fdaa945f73c243e260f9 (patch)
tree7c48c8a9ed80f12eae5355a6c26c917d162cff80
parente76b3f72b23bf778a562682d829744451b27d615 (diff)
downloadgitea-7d7ba76c08b6f9d1d9f6fdaa945f73c243e260f9.tar.gz
gitea-7d7ba76c08b6f9d1d9f6fdaa945f73c243e260f9.zip
Fix user-cards format (#24428) (#24431)
Backport #24428 by @KN4CK3R Fixes #24418 Co-authored-by: KN4CK3R <admin@oldschoolhack.me>
-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 b7bc3060b2..a14c73e0d4 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" .}}