Commit 3ec3de90 authored by GitLab Bot's avatar GitLab Bot

Automatic merge of gitlab-org/gitlab-ce master

parents b6144b98 1b3affaf
...@@ -249,6 +249,16 @@ ...@@ -249,6 +249,16 @@
.event-item { .event-item {
padding-left: 40px; padding-left: 40px;
} }
@include media-breakpoint-up(lg) {
margin-right: 5px;
}
}
.projects-block {
@include media-breakpoint-up(lg) {
margin-left: 5px;
}
} }
@include media-breakpoint-down(xs) { @include media-breakpoint-down(xs) {
......
...@@ -9,24 +9,22 @@ ...@@ -9,24 +9,22 @@
.col-md-12.col-lg-6 .col-md-12.col-lg-6
- if can?(current_user, :read_cross_project) - if can?(current_user, :read_cross_project)
.activities-block .activities-block
.append-right-5
.prepend-top-16
.d-flex.align-items-center.border-bottom
%h4.flex-grow
= s_('UserProfile|Activity')
= link_to s_('UserProfile|View all'), user_activity_path, class: "hide js-view-all"
.overview-content-list{ data: { href: user_path } }
.center.light.loading
= spinner nil, true
.col-md-12.col-lg-6
.projects-block
.prepend-left-5
.prepend-top-16 .prepend-top-16
.d-flex.align-items-center.border-bottom .d-flex.align-items-center.border-bottom
%h4.flex-grow %h4.flex-grow
= s_('UserProfile|Personal projects') = s_('UserProfile|Activity')
= link_to s_('UserProfile|View all'), user_projects_path, class: "hide js-view-all" = link_to s_('UserProfile|View all'), user_activity_path, class: "hide js-view-all"
.overview-content-list{ data: { href: user_projects_path } } .overview-content-list{ data: { href: user_path } }
.center.light.loading .center.light.loading
= spinner nil, true = spinner nil, true
.col-md-12.col-lg-6
.projects-block
.prepend-top-16
.d-flex.align-items-center.border-bottom
%h4.flex-grow
= s_('UserProfile|Personal projects')
= link_to s_('UserProfile|View all'), user_projects_path, class: "hide js-view-all"
.overview-content-list{ data: { href: user_projects_path } }
.center.light.loading
= spinner nil, true
---
title: Remove horizontal whitespace on user profile overview on small breakpoints
merge_request: 24189
author:
type: other
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