aboutsummaryrefslogtreecommitdiffstats
path: root/web_src/css/repo.css
diff options
context:
space:
mode:
authorGiteabot <teabot@gitea.io>2023-10-26 15:26:05 +0800
committerGitHub <noreply@github.com>2023-10-26 09:26:05 +0200
commit487c573c28935a9a54f609321ac75f7770c4895b (patch)
tree77df1663ad0dfac9fdb26d167117d38c2c82adc0 /web_src/css/repo.css
parent25acbfed36b96c3e3c2b2101dae8aaecb7e60d86 (diff)
downloadgitea-487c573c28935a9a54f609321ac75f7770c4895b.tar.gz
gitea-487c573c28935a9a54f609321ac75f7770c4895b.zip
Add dedicated class for empty placeholders (#27788) (#27792)
Backport #27788 by @silverwind Fixes: https://github.com/go-gitea/gitea/issues/27784 <img width="1033" alt="Screenshot 2023-10-25 at 19 07 15" src="https://github.com/go-gitea/gitea/assets/115237/1a363851-1a86-48cb-99ec-0a573371bb6e"> <img width="1051" alt="Screenshot 2023-10-25 at 19 07 41" src="https://github.com/go-gitea/gitea/assets/115237/add4b606-2264-430a-af35-249ef005817f"> Co-authored-by: silverwind <me@silverwind.io> Co-authored-by: KN4CK3R <admin@oldschoolhack.me>
Diffstat (limited to 'web_src/css/repo.css')
-rw-r--r--web_src/css/repo.css10
1 files changed, 6 insertions, 4 deletions
diff --git a/web_src/css/repo.css b/web_src/css/repo.css
index db8cd9e687..b39f2f4fbe 100644
--- a/web_src/css/repo.css
+++ b/web_src/css/repo.css
@@ -1798,10 +1798,12 @@
flex: 1
}
-.repository.packages .empty,
-.repository.actions .empty {
- padding-top: 70px;
- padding-bottom: 100px;
+.empty-placeholder {
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ padding-top: 40px;
+ padding-bottom: 40px;
}
.repository.packages .file-size {