diff options
author | yp05327 <576951401@qq.com> | 2023-11-08 08:52:08 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-07 23:52:08 +0000 |
commit | 4a0103fa293cc42075d4a9c10ca4dffa9c2d3a40 (patch) | |
tree | 45e14b4b048369f7d5ae01b4d93d77fc902ce09c /web_src | |
parent | 2e6af43a0654e466923a5c046a340d851b7d726c (diff) | |
download | gitea-4a0103fa293cc42075d4a9c10ca4dffa9c2d3a40.tar.gz gitea-4a0103fa293cc42075d4a9c10ca4dffa9c2d3a40.zip |
Add word-break to repo description in home page (#27924)
In #25315, @denyskon fixed UI on mobile view.
But for the repo description, on desktop view there's no word-break.
So maybe we can just add `gt-word-break` to fix it on both mobile view
and desktop view.
Before:
desktop view:

mobile view:

After:
desktop view:

mobile view(almost same?)

---------
Co-authored-by: silverwind <me@silverwind.io>
Diffstat (limited to 'web_src')
-rw-r--r-- | web_src/css/repo.css | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/web_src/css/repo.css b/web_src/css/repo.css index 40f08f412f..d759d10c8a 100644 --- a/web_src/css/repo.css +++ b/web_src/css/repo.css @@ -211,14 +211,14 @@ display: flex; justify-content: space-between; align-items: center; + gap: 5px; margin-bottom: 5px; } -@media (max-width: 767.68px) { +@media (max-width: 767.98px) { .repository.file.list .repo-description { flex-direction: column; - gap: 8px; - align-items: normal; + align-items: stretch; } } |