diff options
author | silverwind <me@silverwind.io> | 2023-10-25 23:42:14 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-25 23:42:14 +0200 |
commit | 05aa91e6da54e0e8abd18d8dd2b5a29249c636ed (patch) | |
tree | 007da180c58a8919dd3650ecaf6387d342e7eee7 /web_src | |
parent | ab3f6c1bac04ea43541d9abd5e7c21a67b0f6deb (diff) | |
download | gitea-05aa91e6da54e0e8abd18d8dd2b5a29249c636ed.tar.gz gitea-05aa91e6da54e0e8abd18d8dd2b5a29249c636ed.zip |
Add dedicated class for empty placeholders (#27788)
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: KN4CK3R <admin@oldschoolhack.me>
Diffstat (limited to 'web_src')
-rw-r--r-- | web_src/css/repo.css | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/web_src/css/repo.css b/web_src/css/repo.css index 5b532aa495..b17917c246 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 { |