Forgejo: Mobile-responsive custom CSS via custom/ directory mount #347
Labels
No labels
domain:backend
domain:devops
domain:frontend
status:approved
status:in-progress
status:needs-fix
status:qa
type:bug
type:devops
type:feature
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
ldraney/pal-e-platform#347
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Type
Feature
Lineage
Standalone -- discovered during SSO wiring session (2026-05-05). Phase 2.5: mobile access for SSO'd services.
Repo
ldraney/pal-e-platformUser Story
As a platform admin on mobile,
I want Forgejo's UI to have better mobile typography and navigation
So that I can review PRs and issues from my phone.
Context
Forgejo (Gitea fork) has documented support for custom CSS via a
custom/public/css/directory. Current Helm values setui.DEFAULT_THEME = "forgejo-dark"but do NOT mount a custom/ directory.How it works: Forgejo natively supports a
custom/directory overlay -- any CSS file placed incustom/public/css/is automatically loaded on every page. No nginx tricks needed. We create a ConfigMap containing our responsive CSS, mount it as a volume at thecustom/public/css/path in the Forgejo pod via Helm values. Forgejo picks it up automatically.Default UI is already responsive but can be improved (nav menu toggle, font sizes, PR diff readability on narrow screens).
File Targets
Files the agent should modify or create:
terraform/modules/forgejo/main.tf-- add ConfigMap and volume mount for custom/ CSS to Helm valuesterraform/modules/forgejo/variables.tf-- new variables if neededFiles the agent should NOT touch:
terraform/modules/harbor/main.tf-- Harbor is a separate ticketterraform/modules/storage/main.tf-- MinIO is a separate ticketAcceptance Criteria
@media (min-width: 600px)for desktopTest Expectations
tofu validatepassestofu plan -lock=falseshows expected changes to Forgejo Helm releaseConstraints
terraform/modules/forgejo/Checklist
tofu validatepassesRelated
project-pal-e-platform-- platform project#336-- SSO: Wire Forgejo OIDC