aboutsummaryrefslogtreecommitdiffstats
path: root/web_src
diff options
context:
space:
mode:
authorwxiaoguang <wxiaoguang@gmail.com>2024-04-22 07:47:31 +0800
committerGitHub <noreply@github.com>2024-04-21 23:47:31 +0000
commitf4a1cf7eab674e3c1589a7ecef015ff64e441946 (patch)
tree467f4229cfae119e98536df39c80592e44ccfe47 /web_src
parent1e4867730b261352d63098b85cf53ca05867c8c2 (diff)
downloadgitea-f4a1cf7eab674e3c1589a7ecef015ff64e441946.tar.gz
gitea-f4a1cf7eab674e3c1589a7ecef015ff64e441946.zip
Fix repo home UI when there is no repo description (#30552)
Fix #30502 by a new approach. ![image](https://github.com/go-gitea/gitea/assets/2114189/22f48bca-82d1-45cc-b1b7-ee2344b81a76)
Diffstat (limited to 'web_src')
-rw-r--r--web_src/css/repo.css14
1 files changed, 2 insertions, 12 deletions
diff --git a/web_src/css/repo.css b/web_src/css/repo.css
index 6884bc5b16..62a72abaf9 100644
--- a/web_src/css/repo.css
+++ b/web_src/css/repo.css
@@ -157,21 +157,11 @@
left: auto !important;
}
-.repository.file.list .repo-description {
- display: flex;
- justify-content: space-between;
- align-items: center;
- gap: 5px;
+.repository .repo-description {
+ font-size: 16px;
margin-bottom: 5px;
}
-@media (max-width: 767.98px) {
- .repository.file.list .repo-description {
- flex-direction: column;
- align-items: stretch;
- }
-}
-
.commit-summary {
flex: 1;
overflow-wrap: anywhere;