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:
authorDavid O'Regan <doregan@gitlab.com>2021-02-04 16:22:50 +0300
committerDavid O'Regan <doregan@gitlab.com>2021-02-04 16:22:50 +0300
commit2471535eb8005380175f508ecd0b3a89a2fbe6a0 (patch)
tree2704bf7e6bab524c04ea9d6fdb4aa50e5e4e7738
parent077baccee4ef7b2dc5f1c8829d243b3dec005317 (diff)
parent412bc43da542ef481a95216c3e5b3c089295b5c9 (diff)
Merge branch 'align-icons' into 'master'
Align icon and heading in the popular topics section See merge request gitlab-org/gitlab-docs!1491
-rw-r--r--content/index.erb5
1 files changed, 4 insertions, 1 deletions
diff --git a/content/index.erb b/content/index.erb
index 2308e45f..35556d35 100644
--- a/content/index.erb
+++ b/content/index.erb
@@ -106,7 +106,10 @@ title: GitLab Documentation
<% if Dir.exist?("#{@config[:content_dir]}/#{product}") %>
<div class="col-12 col-lg-4">
<a class="text-decoration-none" href="<%= topic[:url] %>">
- <h3 class="popular-topics-title border-bottom-0 font-weight-bold pb-0 mb-0 text-break"><%= icon("#{topic[:icon]}", nil, 'menu-icon') %> <%= topic[:title] %></h3>
+ <h3 class="popular-topics-title border-bottom-0 font-weight-bold pb-0 mb-0 text-break d-flex align-items-center">
+ <%= icon("#{topic[:icon]}", nil, 'menu-icon') %>
+ <span class="ml-1"><%= topic[:title] %></span>
+ </h3>
<p class="pl-4 ml-1 mt-1 text-break"><%= topic[:description] %></p>
</a>
</div>