diff options
| author | Jacob Schatz <jschatz1@gmail.com> | 2016-04-04 19:52:31 +0000 |
|---|---|---|
| committer | Jacob Schatz <jschatz1@gmail.com> | 2016-04-04 19:52:31 +0000 |
| commit | 1926e55e1ff5eae09d7f3a31c3d29a6f75e7d911 (patch) | |
| tree | 68e1dde4f9b6bb334866890eadd60ec05df485fb | |
| parent | 2fb0ef51d68aab083b95348770e0c15dd7e1c3ec (diff) | |
| parent | 932c2f59cbf8c7a393b5e23fc8b79ce9a7db76e4 (diff) | |
| download | gitlab-ce-1926e55e1ff5eae09d7f3a31c3d29a6f75e7d911.tar.gz | |
Merge branch 'hide_profile_activity_on_mobile' into 'master'
Hide user profile activity graph on mobile
closes #14507
## Before

## After

## Medium width screen

See merge request !3412
| -rw-r--r-- | app/assets/stylesheets/framework/calendar.scss | 6 | ||||
| -rw-r--r-- | app/views/users/show.html.haml | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/app/assets/stylesheets/framework/calendar.scss b/app/assets/stylesheets/framework/calendar.scss index e3192823a1a..0b3af592d4a 100644 --- a/app/assets/stylesheets/framework/calendar.scss +++ b/app/assets/stylesheets/framework/calendar.scss @@ -1,3 +1,9 @@ +.calender-block { + @media (min-width: $screen-sm-min) and (max-width: $screen-lg-min) { + overflow-x: scroll; + } +} + .user-calendar-activities { .calendar_onclick_hr { padding: 0; diff --git a/app/views/users/show.html.haml b/app/views/users/show.html.haml index bca816f22cb..0c4b6a5618b 100644 --- a/app/views/users/show.html.haml +++ b/app/views/users/show.html.haml @@ -87,7 +87,7 @@ %div{ class: container_class } .tab-content #activity.tab-pane - .gray-content-block.white.second-block + .gray-content-block.calender-block.white.second-block.hidden-xs %div{ class: container_class } .user-calendar{data: {href: user_calendar_path}} %h4.center.light |
