Commit c2e7e768 authored by Dmytro Zaporozhets (DZ)'s avatar Dmytro Zaporozhets (DZ) Committed by Brandon Labuschagne

Fix fork thumbnail overflow

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent 0e59f6ae
...@@ -261,7 +261,6 @@ ...@@ -261,7 +261,6 @@
} }
.fork-thumbnail { .fork-thumbnail {
height: 200px;
width: calc((100% / 2) - #{$gl-padding * 2}); width: calc((100% / 2) - #{$gl-padding * 2});
@include media-breakpoint-up(md) { @include media-breakpoint-up(md) {
......
- avatar = namespace_icon(namespace, 100) - avatar = namespace_icon(namespace, 100)
- can_create_project = current_user.can?(:create_projects, namespace) - can_create_project = current_user.can?(:create_projects, namespace)
.bordered-box.fork-thumbnail.text-center.gl-m-3{ class: ("disabled" unless can_create_project) } .bordered-box.fork-thumbnail.text-center.gl-m-3.gl-pb-5{ class: ("disabled" unless can_create_project) }
- if /no_((\w*)_)*avatar/.match(avatar) - if /no_((\w*)_)*avatar/.match(avatar)
= group_icon(namespace, class: "avatar rect-avatar s100 identicon mx-auto") = group_icon(namespace, class: "avatar rect-avatar s100 identicon mx-auto")
- else - else
......
---
title: Fix fork thumbnail overflow
merge_request: 55764
author:
type: fixed
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment