Commit 1e6c06b
fix(ui): make repo lfs settings tables more flexible (#13885)
Most of the changes are intended to improve mobile-friendliness.
- Remove erroneous `{{` (no impact)
- Change "Accessible to user" string to "User-readable", as it is
otherwise cut off an all platforms.
- Copy most of the class names from authentication sources apart from
'striped'.
- Remove unnecessary leftover 'attached' keyword.
- Use same classes for both lfs.tmpl and lfs_pointer.tmpl tables.
Screenshots
(The change includes a minor cosmetic modification, but given that it just took up more space and was [called ugly](https://codeberg.org/forgejo/forgejo/pulls/12960#issuecomment-20561813), I hope that this won't be controversial. The screenshots shown below will include "portrait mode" screenshots.)
### Before
https://codeberg.org/attachments/33765110-f426-4cc9-b53b-83e1bd146ead
https://codeberg.org/attachments/6d49743d-3500-447b-9352-6feb02a9f3dc
https://codeberg.org/attachments/e79558cb-16a7-4378-b6fe-c13b9d9dde13
### After
https://codeberg.org/attachments/349f2cc9-c66a-4e52-8b1b-c9cd09053eea
https://codeberg.org/attachments/7dca04c4-733d-445a-9ad5-eb840d60b391
https://codeberg.org/attachments/fdb5f545-7efb-4911-80ce-8b9cb22a6196
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/13885
Reviewed-by: 0ko <0ko@noreply.codeberg.org>1 parent c8bb407 commit 1e6c06b
3 files changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2563 | 2563 | | |
2564 | 2564 | | |
2565 | 2565 | | |
2566 | | - | |
| 2566 | + | |
2567 | 2567 | | |
2568 | 2568 | | |
2569 | 2569 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
0 commit comments