forgejo/web_src/css
forgejo-backport-action bdb78d42b6 [v10.0/forgejo] ui: update language stats layout and click behavior (#6854)
**Backport:** https://codeberg.org/forgejo/forgejo/pulls/6700

Fix regression of https://codeberg.org/forgejo/forgejo/pulls/6344. It was reported by @Beowulf.

JS toggle [used](49c5102b40/templates/repo/sub_menu.tmpl (L38)) a selector which was broken by that PR, which caused the legend to appear separately instead of replacing the primary repo info.

## Changes

* use clear IDs `language-stats-bar` and `language-stats-legend`
* add simple e2e test

Instead of restoring the previous behavior, I moved the legend under the stats bar. To me it didn't make a lot of sense in the first place to replace the information in the primary bar with with completely different information. It did not save much space either.

Co-authored-by: 0ko <0ko@noreply.codeberg.org>
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6854
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
Co-authored-by: forgejo-backport-action <forgejo-backport-action@noreply.codeberg.org>
Co-committed-by: forgejo-backport-action <forgejo-backport-action@noreply.codeberg.org>
2025-02-08 13:52:03 +00:00
..
chroma
codemirror
editor
features [v10.0/forgejo] fix(ui): prevent overflow of branch selector in commit graph (#6636) 2025-01-20 20:28:39 +00:00
markup
modules
repo
shared
standalone
themes
actions.css
admin.css
base.css New repo: Clean up and improve CSS 2024-12-29 13:23:30 +00:00
dashboard.css
explore.css
font_i18n.css
form.css Rework user profile settings 2024-12-30 20:29:15 +00:00
helpers.css
home.css
index.css
install.css
org.css
repo.css [v10.0/forgejo] ui: update language stats layout and click behavior (#6854) 2025-02-08 13:52:03 +00:00
review.css
user.css Rework user profile settings 2024-12-30 20:29:15 +00:00