-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Change review buttons to icons to make space for text #20934
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
The layout on the review code view was broken depending on length of the text before. Change all three buttons to icons with tooltip to make more space for these long texts. Fixes: go-gitea#20922
a4d1abd
to
f6303f2
Compare
@silverwind Can we change the first icon? We are basically changing the diff behavior for whitespace/EOL. Shouldn't we use a symbol that reflects this? e.g: |
Yeah, I tried other icons for "whitespace" but I'm not sure I found one I like yet. |
At least the combined use of gear and three dot icons is a bit confusing as both imply "options". Maybe create a new icon based on these two: https://www.compart.com/en/unicode/U+2423 Quick (ugly) sketch: |
I think I will go with https://www.svgrepo.com/svg/368767/indent-increase because often times the whitespace toggle is related to hiding indendation changes and such. https://www.svgrepo.com/svg/347466/space could also be an option for a generic space icon. |
. |
please backport |
The layout on the review code view was broken depending on length of the text. Change all three buttons to icons with tooltip to make more space for these long texts. Fixes: go-gitea#20922
-> #20978 |
The layout on the review code view was broken depending on length of the text. Change all three buttons to icons with tooltip to make more space for these long texts. Fixes: go-gitea#20922
* upstream/main: [skip ci] Updated translations via Crowdin Add instructions how to add service dependencies (go-gitea#20968) Share HTML template renderers and create a watcher framework (go-gitea#20218) [skip ci] Updated licenses and gitignores [skip ci] Updated translations via Crowdin Change review buttons to icons to make space for text (go-gitea#20934) Fix download archiver of a commit (go-gitea#20962)
The layout on the review code view was broken depending on length of the text. Change all three buttons to icons with tooltip to make more space for these long texts.
Fixes: #20922
Before (broken layout because of too long text):

After:
