Commit c3cc9e05 authored by Brandon Labuschagne's avatar Brandon Labuschagne

Merge branch 'dz-fix-fork-thumbnail-height' into 'master'

Fix fork thumbnail overflow

See merge request gitlab-org/gitlab!55764
parents 8da5d135 c2e7e768
......@@ -261,7 +261,6 @@
}
.fork-thumbnail {
height: 200px;
width: calc((100% / 2) - #{$gl-padding * 2});
@include media-breakpoint-up(md) {
......
- avatar = namespace_icon(namespace, 100)
- 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)
= group_icon(namespace, class: "avatar rect-avatar s100 identicon mx-auto")
- 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