forgejo/web_src
0ko 8b93f41aaa fix(ui): ensure same width of usercards in grid (#6799)
Followup to https://codeberg.org/forgejo/forgejo/pulls/4760

* some refactoring
    * move rules out of repo.css to a new module
    * simplify selectors by omitting .list: it is now only used to style the list itself, they're still precise enough in scope of .user-cards
* apply wrap/ellipsis to cards' content. Done via CSS to avoid spamming gt-ellipsis in the template
    * prevent cards with long content from taking horizontal space from other cards
    * prevent such cards from causing horizontal overflow on mobile
    * prevent varying card height, it doesn't look good even with text wrapping

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6799
Reviewed-by: Otto <otto@codeberg.org>
Co-authored-by: 0ko <0ko@noreply.codeberg.org>
Co-committed-by: 0ko <0ko@noreply.codeberg.org>
2025-05-25 13:31:53 +02:00
..
css fix(ui): ensure same width of usercards in grid (#6799) 2025-05-25 13:31:53 +02:00
fomantic Lock file maintenance (forgejo) (#7908) 2025-05-21 13:46:57 +02:00
js fix(ui): relative time elements were reset on htmx swap (#7950) 2025-05-24 23:46:21 +02:00
svg feat(ui): redesign migration selection screen (#6795) 2025-04-19 13:51:35 +00:00