diff --git a/app/assets/stylesheets/framework/common.scss b/app/assets/stylesheets/framework/common.scss index bc03c2180becdd93fd2aa80311f88ef2d009107f..7285ccec797641f7a20564ef892b22e552dd5c77 100644 --- a/app/assets/stylesheets/framework/common.scss +++ b/app/assets/stylesheets/framework/common.scss @@ -375,7 +375,6 @@ table { position: absolute; top: 0; right: 0; - width: 250px !important; visibility: hidden; } } diff --git a/app/assets/stylesheets/framework/filters.scss b/app/assets/stylesheets/framework/filters.scss index 40a508c1ebc73fa96137f1e510e8f6026fc97740..99e49a709231217b65e34f283695f10a3ecb5abb 100644 --- a/app/assets/stylesheets/framework/filters.scss +++ b/app/assets/stylesheets/framework/filters.scss @@ -11,3 +11,11 @@ } } } + +@media (max-width: $screen-xs-max) { + .filter-item { + display: block; + margin: 0 0 10px 0; + } +} + diff --git a/app/assets/stylesheets/framework/nav.scss b/app/assets/stylesheets/framework/nav.scss index 9d1b7199705b94c8ad05a7311b9b8962cb62ce33..2122ee85c58f592e74b685bf490e659af57e6a48 100644 --- a/app/assets/stylesheets/framework/nav.scss +++ b/app/assets/stylesheets/framework/nav.scss @@ -128,15 +128,23 @@ } } - @media (max-width: 600px) { - .btn, form { + @media (max-width: $screen-xs-max) { + padding-bottom: 0; + + .btn, form, .dropdown, .dropdown-menu-toggle, .form-control { margin: 0 0 10px 0; display: block; + width: 100%; } form { display: block; height: auto; + + input { + width: 100%; + margin: 0 0 10px 0; + } } input.input-short { @@ -146,6 +154,12 @@ .icon-label { display: inline-block; } + + // Applies on /dashboard/issues + .project-item-select-holder { + display: block; + margin: 0; + } } /* Small devices (tablets, 768px and lower) */ diff --git a/app/views/dashboard/issues.html.haml b/app/views/dashboard/issues.html.haml index dfa5f80eef8bed7c6fd6477ed659600cbba1acfb..1eec4db45a07be6dce1bac2b8b3f58f28061d459 100644 --- a/app/views/dashboard/issues.html.haml +++ b/app/views/dashboard/issues.html.haml @@ -10,6 +10,8 @@ - if current_user = link_to issues_dashboard_url(format: :atom, private_token: current_user.private_token), class: 'btn' do = icon('rss') + %span.icon-label + Subscribe = render 'shared/new_project_item_select', path: 'issues/new', label: "New Issue" = render 'shared/issuable/filter', type: :issues