Last active
January 11, 2024 11:49
-
-
Save showgo001/eaeeeb89df555d4fd56cd3ba8dfebcc3 to your computer and use it in GitHub Desktop.
Slack extension with Stylus. Shorten message with the :complete: reaction icon.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@-moz-document url-prefix("https://app.slack.com/client/") { | |
/* Insert code here... */ | |
[data-qa="message_container"]:has([data-stringify-emoji=":complete:"]) { | |
.c-message_kit__blocks { | |
max-height: 20px!important; | |
display: block; | |
opacity:0.3; | |
overflow: hidden; | |
} | |
.c-files_container { | |
height:20px; | |
display:block; | |
.c-message_kit__file__meta + div{ | |
display:none; | |
} | |
img { | |
display:none; | |
} | |
} | |
.c-message_kit__attachments{ | |
display:none; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment