From 98f2d405990be1cd45407cb7cacc70da1a90128c Mon Sep 17 00:00:00 2001 From: 0ko <0ko@noreply.codeberg.org> Date: Thu, 18 Sep 2025 06:48:28 +0200 Subject: [PATCH] feat(ui): improve the global noJS notice (#9336) - added centering - added padding so the message cannot touch the end of the viewport on narrow screens - made text less bright, to make it less annoying Preview Before: https://codeberg.org/attachments/85f91678-f2b9-4187-8d2d-9bdd918af994 After: https://codeberg.org/attachments/a8351624-e6fe-45c2-82aa-3e6f06ad8368 Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/9336 Reviewed-by: Gusted --- templates/base/head.tmpl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/templates/base/head.tmpl b/templates/base/head.tmpl index 6357981549..7d33d7cf3e 100644 --- a/templates/base/head.tmpl +++ b/templates/base/head.tmpl @@ -29,7 +29,9 @@ {{template "custom/body_outer_pre" .}}
- + {{template "custom/body_inner_pre" .}}