forgejo/web_src/css/repo
0ko 7e4619df83 feat(ui): responsive releases list (#11080)
## Changes

I've made releases list more usable on narrow viewports while trying keep the layout unchanged for desktop viewports.

To support these changes large amount of Tailwind classes were converted to regular CSS to be applied conditionally via `@media`. While it was possible to just adjust the Tailwind classes to achieve the same behavior, there's a positive effect which is that the repeating HTML of releases generated by template's range is much less verbose and contains fewer long duplicated lines of Tailwind classes.

## Preview

### Desktop

Not much changed, but the dot between tag and release name is no more.

|Before|After|
|-|-|
|![bd](/attachments/a87bf050-03ba-4035-8a0e-7ab4f6e877a2)|![2d](/attachments/e0c2e052-01c6-4078-b06e-f8ef7b803690)|

### Mobile

|Before|After|
|-|-|
|![bm](/attachments/f63a606f-f3f8-435d-8378-0979e93cf7bd)|![2m](/attachments/0cb6086d-1def-4a86-bb0e-4131e50aae3b)|

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/11080
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
Reviewed-by: Beowulf <beowulf@beocode.eu>
2026-02-07 19:15:14 +01:00
..
file-view.css fix(ui): change escaping button bg on selected lines (#7944) 2025-05-28 05:16:19 +02:00
header.css ui: improve button gap consistency in repos (#4365) 2024-07-07 03:21:58 +00:00
issue-card.css [PORT] Scroll images in project issues separately from the remaining issue (gitea#31683) 2024-08-20 15:54:22 +02:00
issue-label.css Hide archived labels by default from the suggestions when assigning labels for an issue (#27451) 2023-10-17 16:10:45 +02:00
issue-list.css feat(ui): enlarge metadata line gaps in issue list and refactor (#7580) 2025-04-22 14:58:32 +00:00
linebutton.css Merge pull request 'Render inline file permalinks' (#2669) from Mai-Lapyst/forgejo:markup-add-filepreview into forgejo 2024-04-01 13:57:01 +00:00
list-header.css feat(issue-search): support query syntax (#9109) 2025-11-19 16:05:42 +01:00
release-tag.css feat(ui): responsive releases list (#11080) 2026-02-07 19:15:14 +01:00
wiki.css fix(ui): apply background color to wiki content (#9400) 2025-09-24 17:47:53 +02:00