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:
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.*' %>