Skip to content

Instantly share code, notes, and snippets.

@celestefox
Last active June 22, 2020 03:55
Show Gist options
  • Save celestefox/cfb7da3c7d8126afb15bef4ce2908b3b to your computer and use it in GitHub Desktop.
Save celestefox/cfb7da3c7d8126afb15bef4ce2908b3b to your computer and use it in GitHub Desktop.
See Slack Pinned Message UserCSS

See Slack Pinned Message

Just shows the full pinned messages in the sidebar. That's it. Mostly useful for if you're on a free Slack, where messages can be pushed out of the visible history, but stay pinned. In that case, you can't see the full message, and can't click on the message to go to it to see the full thing - but the full contents are only hidden with CSS, which is easy to "fix".

Install directly with Stylus

Or just click on the Raw button below, above the css file. That works too.

/* ==UserStyle==
@name See Slack Pinned Messages
@namespace chakat.space
@version 1.0.0
@description A very simple style to let you see the full text of pinned messages in the sidebar. Useful for free Slacks, where messages can pass out of history but will remain pinned.
@author Glowpelt <[email protected]> [https://chakat.space]
@license MIT
@homepageURL https://gist.github.com/mystfox/cfb7da3c7d8126afb15bef4ce2908b3b
@updateURL https://gist.github.com/mystfox/cfb7da3c7d8126afb15bef4ce2908b3b/raw/slackpinned.user.css
==/UserStyle== */
@-moz-document domain("app.slack.com") {
/* Reset these values to make the preview of pinned messages visible. */
.p-pinned_message_text {
text-overflow: initial !important;
overflow: initial !important;
white-space: initial !important;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment