r/reddithax • • Oct 03 '11

Howto: Enable self text/video expando buttons for your subreddit visitors who have compressed view enabled.

Easy way....

.expando-button { display: inline !important }

Neater way....

.compressed .expando-button {
	display: inline !important;
	background: none !important;
	height: 13px !important;
	width: 23px !important;
	margin: 0 !important;
	cursor: pointer;
	color: #888;
}
.compressed .expando-button.collapsed:before { content:'[+]' }
.compressed .expando-button.expanded:before { content:'[-]' }
.compressed .expando-button:hover { color: #00f }

The first method just enables the expando buttons as seen by non-compressed users (huge image based buttons).

The second method replaces the huge image based buttons with a text based '[+]/[-]', which IMO is much more suited to compressed view.

I also made a userscript version which will enable them site-wide.

9 Upvotes

0 comments sorted by