diff options
author | Sarah German <sgerman@gitlab.com> | 2022-10-05 01:56:11 +0300 |
---|---|---|
committer | David O'Regan <doregan@gitlab.com> | 2022-10-05 01:56:11 +0300 |
commit | 309860fa7bc365106de9c9e8af83b7edf9a1c92b (patch) | |
tree | 2fbce6fce805d4cfc056e2ca58baa897b815ebb7 /layouts | |
parent | b16c762757c462214cae0c5abc9cecd1acc1e805 (diff) |
Refactor the archives banner to use versions.json and GitLab UI
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/default.html | 4 | ||||
-rw-r--r-- | layouts/header.html | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/layouts/default.html b/layouts/default.html index f0674675..856a5cc9 100644 --- a/layouts/default.html +++ b/layouts/default.html @@ -8,7 +8,7 @@ <body itemscope itemtype="http://schema.org/WebPage" data-spy="scroll" data-target="#doc-nav" data-offset="90"> <%= render '/gtm.*' %> <%= render '/header.*' %> - <section class="gl-docs container-fluid mt-7"> + <section class="gl-docs container-fluid gl-mt-9"> <div class="row"> <div class="col-0 col-xl-2 pl-0"> <div class="nav-wrapper active"> @@ -35,7 +35,7 @@ <div class="row"> <div class="col"> <div class="my-3 my-xl-0"> - <a class="position-absolute text-muted mt-2 pt-1 text-decoration-none border-bottom-0 mobile-nav-toggle" href="#"><%= icon('hamburger', 18, 'gl-ml-0!') %></a> + <a class="gl-absolute text-muted gl-mt-4 gl-pt-4 gl-text-decoration-none gl-border-bottom-0! mobile-nav-toggle" href="#"><%= icon('hamburger', 18, 'gl-ml-0!') %></a> </div> </div> </div> diff --git a/layouts/header.html b/layouts/header.html index 3a8be124..d3dd9539 100644 --- a/layouts/header.html +++ b/layouts/header.html @@ -13,7 +13,7 @@ <% location = @item.identifier.to_s.split('/')[1] %> <% unless %w(search index.erb).any?(location) %> <% if @config[:algolia] == "true" %> - <div id="docsearch" class="gl-my-3 my-lg-0"></div> + <div id="docsearch" class="gl-my-3 gl-md-mt-0 gl-md-mb-0"></div> <% else %> <div class="js-lunr-form"></div> <% end %> |