mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-09-20 01:35:55 +00:00
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 <gusted@noreply.codeberg.org>
This commit is contained in:
parent
be274b43a6
commit
98f2d40599
1 changed files with 3 additions and 1 deletions
|
@ -29,7 +29,9 @@
|
|||
{{template "custom/body_outer_pre" .}}
|
||||
|
||||
<div class="full height">
|
||||
<noscript>{{ctx.Locale.Tr "enable_javascript"}}</noscript>
|
||||
<noscript>
|
||||
<div class="tw-ml-2 tw-mr-2 tw-text-center tw-text-text-light-2">{{ctx.Locale.Tr "enable_javascript"}}</div>
|
||||
</noscript>
|
||||
|
||||
{{template "custom/body_inner_pre" .}}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue