FANDOM


CollapseMessageCSS collapses long messages. Length defined by message height. Light version of CollapseMessage.

Installation

Add following lines to your css:

.msg-body,
.article-comm-text {
    overflow: hidden;
    max-height: 70px;    
}
.msg-body:focus,
.msg-body:hover,
.article-comm-text:focus,
.article-comm-text:hover {
    overflow: initial;
    max-height: initial;
}

Usage

Change 70px to desired height. .msg-body is used on forums, message walls and blogs; .article-comm-text is used in article comments.

Community content is available under CC-BY-SA unless otherwise noted.

Fandom may earn an affiliate commission on sales made from links on this page.

Stream the best stories.

Fandom may earn an affiliate commission on sales made from links on this page.

Get Disney+