Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-docs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSarah German <sgerman@gitlab.com>2022-12-03 01:50:16 +0300
committerSarah German <sgerman@gitlab.com>2022-12-03 01:50:16 +0300
commit492478f8147893d798e62ee3be6b9bccb8903648 (patch)
treebf77267fea59c9e7f565099bd6a2368b809010c9 /layouts
parent4e8dfa5af783c14cd1f92d12fd766ad40f734f71 (diff)
Simplify 404 page
Diffstat (limited to 'layouts')
-rw-r--r--layouts/404.html14
1 files changed, 5 insertions, 9 deletions
diff --git a/layouts/404.html b/layouts/404.html
index fc54df78..f638d150 100644
--- a/layouts/404.html
+++ b/layouts/404.html
@@ -7,20 +7,16 @@
</head>
<body>
<%= render '/header.*' %>
- <section class="container-fluid mt-5 pt-5">
+ <section class="container-fluid">
<div class="row">
- <div class="col-12">
- <%= yield %>
+ <div class="col-12 gl-h-100vh gl-display-flex gl-flex-direction-column">
+ <main class="gl-mt-5 gl-flex-grow-1 gl-flex-shrink-0"><%= yield %></main>
<%= render '/footer.*' %>
+ </div>
</div>
- </div>
- </section>
+ </section>
<script src="<%= @items['/frontend/shared/global_imports.*'].path %>"></script>
- <% if @config[:algolia] == "true" %>
- <script src="<%= @items['/frontend/search/docsearch.*'].path %>"></script>
- <% end %>
-
<% if production? %>
<%# Add analytics only in production %>
<%= render '/analytics.*' %>