mirror of
https://codeberg.org/davrot/forgejo.git
synced 2025-07-23 10:00:02 +02:00

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>
29 lines
235 B
YAML
29 lines
235 B
YAML
-
|
|
id: 1
|
|
user_id: 4
|
|
follow_id: 2
|
|
|
|
-
|
|
id: 2
|
|
user_id: 8
|
|
follow_id: 2
|
|
|
|
-
|
|
id: 3
|
|
user_id: 2
|
|
follow_id: 8
|
|
|
|
-
|
|
id: 4
|
|
user_id: 31
|
|
follow_id: 33
|
|
|
|
-
|
|
id: 5
|
|
user_id: 4
|
|
follow_id: 8
|
|
|
|
-
|
|
id: 6
|
|
user_id: 5
|
|
follow_id: 8
|