diff options
author | Annabel Dunstone Gray <annabel.dunstone@gmail.com> | 2016-10-04 19:12:51 +0000 |
---|---|---|
committer | Annabel Dunstone Gray <annabel.dunstone@gmail.com> | 2016-10-04 19:12:51 +0000 |
commit | 3bf0d1432db100b2813fd17b48936148336b0f41 (patch) | |
tree | eac1293667c70db534ec3a055c87f1906b349ef5 /app/assets/stylesheets/pages | |
parent | 1097a4a68e64ce11cd31335ec79cf2457d824573 (diff) | |
parent | bdb0af25091b2ca559d7bfebc00d0194d199af50 (diff) | |
download | gitlab-ce-3bf0d1432db100b2813fd17b48936148336b0f41.tar.gz |
Merge branch 'fix-todo-mobile-view' into 'master'
Fix todos page mobile viewport layout
## What does this MR do?
Fixes the todos page mobile viewport layout
## Are there points in the code the reviewer needs to double check?
Shouldn't be any :thumbsup:
## Why was this MR needed?
Improve GitLab usability on mobile devices
## Screenshots (if relevant)
Before:
![Simulator_Screen_Shot_Sep_13__2016__11.30.19_AM](/uploads/7053a1bb1fca6238c5f86d671bf96ff0/Simulator_Screen_Shot_Sep_13__2016__11.30.19_AM.png)
After:
![Simulator_Screen_Shot_Sep_13__2016__11.30.04_AM](/uploads/a30921c1a1118655b547977872e8e1c7/Simulator_Screen_Shot_Sep_13__2016__11.30.04_AM.png)
## Does this MR meet the acceptance criteria?
- [x] [CHANGELOG](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CHANGELOG) entry added
- Tests
- [x] All builds are passing
- [x] Conform by the [merge request performance guides](http://docs.gitlab.com/ce/development/merge_request_performance_guidelines.html)
- [x] Conform by the [style guides](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CONTRIBUTING.md#style-guides)
- [x] Branch has no merge conflicts with `master` (if you do - rebase it please)
- [x] [Squashed related commits together](https://git-scm.com/book/en/Git-Tools-Rewriting-History#Squashing-Commits)
## What are the relevant issue numbers?
Closes #22097
See merge request !6325
Diffstat (limited to 'app/assets/stylesheets/pages')
-rw-r--r-- | app/assets/stylesheets/pages/todos.scss | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/app/assets/stylesheets/pages/todos.scss b/app/assets/stylesheets/pages/todos.scss index 68a5d1ae06c..ea76fe18876 100644 --- a/app/assets/stylesheets/pages/todos.scss +++ b/app/assets/stylesheets/pages/todos.scss @@ -51,6 +51,7 @@ -webkit-flex-direction: column; flex-direction: column; margin-left: 10px; + min-width: 55px; } .todo-item { @@ -120,6 +121,14 @@ } } +@media (max-width: $screen-sm-max) { + .todos-filters { + .dropdown-menu-toggle { + width: 135px; + } + } +} + @media (max-width: $screen-xs-max) { .todo { .avatar { @@ -141,4 +150,14 @@ padding-left: 10px; } } + + .todos-filters { + .row-content-block { + padding-bottom: 50px; + } + + .dropdown-menu-toggle { + width: 100%; + } + } } |