]> source.dussan.org Git - gitea.git/commit
Improve mobile review ui (#31091) (#31136)
authorGiteabot <teabot@gitea.io>
Tue, 28 May 2024 14:10:01 +0000 (22:10 +0800)
committerGitHub <noreply@github.com>
Tue, 28 May 2024 14:10:01 +0000 (14:10 +0000)
commitb615a59db8feb9c2591425f0cc7aca518157f7ea
tree45de711df3fc2ff16692d95658417eb359a9ea2f
parente6bacf1fed57e33fcbbb7d57782bfc5daa8f2fee
Improve mobile review ui (#31091) (#31136)

Backport #31091 by @silverwind

Fixes: https://github.com/go-gitea/gitea/issues/31071
Not perfect but much better than before.

Before: Overflows, sticky not working, filename unreadable:

<img width="506" alt="Screenshot 2024-05-27 at 02 02 40"
src="https://github.com/go-gitea/gitea/assets/115237/a06b1edf-dece-4402-98c2-68670fca265f">

After:
<img width="457" alt="Screenshot 2024-05-27 at 01 59 06"
src="https://github.com/go-gitea/gitea/assets/115237/2a282c96-e719-4554-b418-81963ae6269c">

Co-authored-by: silverwind <me@silverwind.io>
templates/repo/diff/box.tmpl
templates/repo/diff/conversation.tmpl
web_src/css/markup/content.css
web_src/css/modules/comment.css
web_src/css/modules/segment.css
web_src/css/repo.css
web_src/css/review.css