diff options
author | Marcel Amirault <mamirault@gitlab.com> | 2023-03-17 10:39:56 +0300 |
---|---|---|
committer | Marcel Amirault <mamirault@gitlab.com> | 2023-03-17 10:39:56 +0300 |
commit | 529514c70d1adedd4b4f8da4484077f870fcb8ce (patch) | |
tree | c8114d6bd72e5dfd95de3e7cfbc31f4e7308ab61 | |
parent | 1f8b0187c817aee52af9b20c887ce8da8581687f (diff) |
Reduce the icon size of the front page cardsreduce-icon-size
-rw-r--r-- | content/assets/stylesheets/_landing.scss | 4 | ||||
-rw-r--r-- | content/index.erb | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/content/assets/stylesheets/_landing.scss b/content/assets/stylesheets/_landing.scss index c3e4ecc0..f7c1ddc1 100644 --- a/content/assets/stylesheets/_landing.scss +++ b/content/assets/stylesheets/_landing.scss @@ -113,8 +113,8 @@ border: 0; .card-img-top { - width: 4rem; - height: 4rem; + width: 2.5rem; + height: 2.5rem; } .card-title { diff --git a/content/index.erb b/content/index.erb index c63a1fe8..16a11eba 100644 --- a/content/index.erb +++ b/content/index.erb @@ -42,9 +42,9 @@ title: GitLab Documentation <div class="col-lg-4 col-md-6 col-12 pb-4"> <div class="card topic h-100"> <div class="card-body"> - <img class="card-img-top" src="<%= hero[:img] %>" alt="<%= hero[:alt] %>" aria-hidden="true" role="img"> - <h5 class="card-title py-2 m-0"><%= hero[:title] %></h5> - <p class="card-text mb-2"><%= hero[:description] %></p> + <h5 class="card-title py-2 m-0"> + <img class="card-img-top" src="<%= hero[:img] %>" alt="<%= hero[:alt] %>" aria-hidden="true" role="img"> <%= hero[:title] %></h5> + <p class="card-text mb-2"><%= hero[:description] %></p> <ul class="pl-0"> <% hero[:links].each do |link| %> <li> |