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>