-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Tweak repo sidebar #32847
Tweak repo sidebar #32847
Conversation
By reading the tmpl code again, I can see the "flex-list" was already abused. Ideally it should be changed to a layout like this:
|
f309305
to
b4ea7b5
Compare
Thank you, will correct the "flex-list" based on your work |
a1e1f9f
to
932d9f5
Compare
Force pushed (because too many changes) and applied your "gap-1" for the labels. |
That's not right. There could be many "stable" but only one "latest" |
Hmm so we need to somehow adjust the label template to detect latest vs. stable. FWIW, GitHub has no notion of stable. They just show no label on non-latest non-prerelease/draft. |
I would suggest do not do that trick in this PR. Leave the "latest" on repo home, and leave the "stable" for the list. |
Ideally this |
Since the time for releasing 1.23 is limited, I would suggest we only do necessary changes at the moment, keep 1.23 release stable. Leave trivial (or hard) problem to the future. |
Before and after:
Diff without whitespace: https://github.com/go-gitea/gitea/pull/32847/files?diff=unified&w=1
The
tw-mt-2
is fine even if the element renders empty: