Skip to content

Instantly share code, notes, and snippets.

@pldubouilh
Created September 8, 2022 12:35
Show Gist options
  • Save pldubouilh/c0b72a679a8426a162e5530d907139ff to your computer and use it in GitHub Desktop.
Save pldubouilh/c0b72a679a8426a162e5530d907139ff to your computer and use it in GitHub Desktop.
cleaner slack
var cssText = `.p-workspace-layout {
height: 100% !important;
top: 0px !important;
position: absolute !important;
left: 0px !important;
right: 0px !important;
grid-template-rows: 0px auto !important;
}
.p-workspace__primary_view {
max-height: unset !important;
}
.p-top_nav,
.p-huddle_sidebar_footer,
.p-channel_sidebar__compose_button,
.p-classic_nav__model__title__info__pins,
.p-ia__view_header__button_text
{
display: none !important;
}
.p-tiles__container--has_primary_tile .p-tiles__tile {
margin: 0px;
border-radius: 0px;
}
`
var css = document.createElement("style");
css.type = "text/css";
css.textContent = cssText;
setTimeout(() => { document.body.appendChild(css); }, 10000);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment