{"action":"created","issue":{"url":"https://api.github.com/repos/almasaeed2010/AdminLTE/issues/1155","repository_url":"https://api.github.com/repos/almasaeed2010/AdminLTE","labels_url":"https://api.github.com/repos/almasaeed2010/AdminLTE/issues/1155/labels{/name}","comments_url":"https://api.github.com/repos/almasaeed2010/AdminLTE/issues/1155/comments","events_url":"https://api.github.com/repos/almasaeed2010/AdminLTE/issues/1155/events","html_url":"https://github.com/almasaeed2010/AdminLTE/issues/1155","id":169946924,"number":1155,"title":"The ability to minimize all or certian boxes based off screen size (ie. mobile devices)","user":{"login":"nexus9988","id":7049944,"avatar_url":"https://avatars2.githubusercontent.com/u/7049944?v=4","gravatar_id":"","url":"https://api.github.com/users/nexus9988","html_url":"https://github.com/nexus9988","followers_url":"https://api.github.com/users/nexus9988/followers","following_url":"https://api.github.com/users/nexus9988/following{/other_user}","gists_url":"https://api.github.com/users/nexus9988/gists{/gist_id}","starred_url":"https://api.github.com/users/nexus9988/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nexus9988/subscriptions","organizations_url":"https://api.github.com/users/nexus9988/orgs","repos_url":"https://api.github.com/users/nexus9988/repos","events_url":"https://api.github.com/users/nexus9988/events{/privacy}","received_events_url":"https://api.github.com/users/nexus9988/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-08T15:10:02Z","updated_at":"2018-05-28T09:56:37Z","closed_at":"2018-05-28T09:56:37Z","author_association":"NONE","body":"This isn't so much of an issue rather a feature request. On mobile, pages with lots of boxes tend to get really cramped when they're all open so I created an on load script that will verify the pages size and minimize all boxes.\n\nJust add the class \".mobile-load-collapse\" to where your \".box\" class is\n\n> ```\n>  $(window).on(\"load\",function(e){\n>       if ($(document).width() < 767 ) {\n>           if (!$('.mobile-load-collapse').hasClass('collapsed-box')){\n>               $('.mobile-load-collapse').addClass('collapsed-box');\n>               $('.mobile-load-collapse > .box-body').css('display','none');\n>               $('.mobile-load-collapse > .box-header .fa.fa-minus').removeClass('fa-minus').addClass('fa-plus');\n>           }\n>       }\n>   });\n> ```\n\nThis can also be modified to for tablets and desktop sizes.\nTested on safari and chrome for iphone\n"},"comment":{"url":"https://api.github.com/repos/almasaeed2010/AdminLTE/issues/comments/392480439","html_url":"https://github.com/almasaeed2010/AdminLTE/issues/1155#issuecomment-392480439","issue_url":"https://api.github.com/repos/almasaeed2010/AdminLTE/issues/1155","id":392480439,"user":{"login":"almasaeed2010","id":1512664,"avatar_url":"https://avatars2.githubusercontent.com/u/1512664?v=4","gravatar_id":"","url":"https://api.github.com/users/almasaeed2010","html_url":"https://github.com/almasaeed2010","followers_url":"https://api.github.com/users/almasaeed2010/followers","following_url":"https://api.github.com/users/almasaeed2010/following{/other_user}","gists_url":"https://api.github.com/users/almasaeed2010/gists{/gist_id}","starred_url":"https://api.github.com/users/almasaeed2010/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/almasaeed2010/subscriptions","organizations_url":"https://api.github.com/users/almasaeed2010/orgs","repos_url":"https://api.github.com/users/almasaeed2010/repos","events_url":"https://api.github.com/users/almasaeed2010/events{/privacy}","received_events_url":"https://api.github.com/users/almasaeed2010/received_events","type":"User","site_admin":false},"created_at":"2018-05-28T09:56:37Z","updated_at":"2018-05-28T09:56:37Z","author_association":"OWNER","body":"I feel like this can be implemented via CSS to keep the implementation responsive the same way the rest of theme is. If you submit a PR for v3 that uses css (sass) to implement this we will accept it.\r\n\r\nThanks and sorry for the years of inactivity!"}}
{"actor":{"display_login":"almasaeed2010"}}