Skip to content

Instantly share code, notes, and snippets.

@rissajeanne
Last active October 19, 2018 19:17
Show Gist options
  • Save rissajeanne/dc10be6272d223b778307dcd1d0028d9 to your computer and use it in GitHub Desktop.
Save rissajeanne/dc10be6272d223b778307dcd1d0028d9 to your computer and use it in GitHub Desktop.
Hide Slack Sidebar
/* Based on 0atman's solution
* http://www.0atman.com/remove-slacks-sidebar.html
*
* Thanks to:
* Tristram Oaten
* shaymdev
*/
/* Replace max-width with desired value */
@media (max-width: 600px) {
/* hide the sidebar */
#messages_container {margin-left: 0;}
#notification_bar {width: 100vw;}
.client_channels_list_container { display: none; }
#channel_header_info { overflow: hidden; }
#client_header {
min-width: 0;
}
#client_header .channel_header {
margin-left: 0;
}
body {
min-width: 0;
}
}
@perfectabs
Copy link

Thanks, works nicely

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment