Skip to content

Auto-expand message in MS Teams by rewdy

Details

Authorrewdy

LicenseNo License

Categoryteams.microsoft.com

Created

Updated

Size1.4 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

This opens the collapsed messages in Teams

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name         teams.microsoft.com
@version      20230622.16.38
@namespace    ?
==/UserStyle== */

@-moz-document domain("teams.microsoft.com") {
/**
 * Nothing sucks as much as Teams, this hopefully makes it marginally better.
 *
 * Kill me.
*/
/* Spacing tweaks */
.message-list-common:not(.chat-style) .button-row, .message-list-common:not(.chat-style) .large-max-stage, .message-list-common:not(.chat-style) .message-list-common .button-row, .message-list-common:not(.chat-style) .message-pane .new-typing-indicator, .message-list-common:not(.chat-style) .middle-messages-context-stripe .ts-message-list-container, .message-list-common:not(.chat-style) .ts-add-message .ts-new-message, .message-list-common:not(.chat-style) .ts-message-list-container, .message-list-common:not(.chat-style) .ts-new-meetup-animated, .message-list-common:not(.chat-style) virtual-repeat>.list-wrap>.item-wrap, .ts-add-message.is-not-chat .ts-new-message {
    max-width:none;
}

.message-list-common:not(.chat-style) .ts-message-list-container .ts-message-list-item {
    padding-right:0;
}

/* Always show whole message; hide toggle button */
.message-list-common[enable-copy-message=true] .message-actions-container, .message-list-common[enable-copy-message=true] .ts-see-more-button {
    display:none;
}
thread[see-more-enabled=true] see-more:not(.expanded) .message-body-container {
    max-height:none;
}
}

Reviews

No reviews yet.