From 9ee88e965ee067d8f794e4c674a76aedb4a2238a Mon Sep 17 00:00:00 2001 From: TimedIn <git@timedin.net> Date: Sun, 6 Oct 2024 00:14:30 +0200 Subject: [PATCH] #5324 Fix centered fork note (cherry picked from commit 8cbb9f31166bc0771c5e13e1ff9c0b5d52b33e9e) --- templates/status/404.tmpl | 2 +- templates/status/413.tmpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/status/404.tmpl b/templates/status/404.tmpl index 9e961e1b84..f9a6e18224 100644 --- a/templates/status/404.tmpl +++ b/templates/status/404.tmpl @@ -1,5 +1,5 @@ {{template "base/head" .}} -<div role="main" aria-label="{{.Title}}" class="page-content ui center tw-w-screen {{if .IsRepo}}repository{{end}}"> +<div role="main" aria-label="{{.Title}}" class="page-content ui tw-w-screen {{if .IsRepo}}repository{{end}}"> {{if .IsRepo}}{{template "repo/header" .}}{{end}} <div class="ui container center"> <h1 style="margin-top: 100px" class="error-code">404</h1> diff --git a/templates/status/413.tmpl b/templates/status/413.tmpl index 8248f601b2..75cb3d04a6 100644 --- a/templates/status/413.tmpl +++ b/templates/status/413.tmpl @@ -1,5 +1,5 @@ {{template "base/head" .}} -<div role="main" aria-label="{{.Title}}" class="page-content ui center tw-w-screen {{if .IsRepo}}repository{{end}}"> +<div role="main" aria-label="{{.Title}}" class="page-content ui tw-w-screen {{if .IsRepo}}repository{{end}}"> {{if .IsRepo}}{{template "repo/header" .}}{{end}} <div class="ui container center"> <h1 style="margin-top: 100px" class="error-code">413</h1>