Skip to content

Reddit show images with full/real height by hdyzen

Details

Authorhdyzen

LicenseMIT

Categoryreddit

Created

Updated

Size1.3 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

show images with full height in new reddit

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name           Reddit show images with full/real height
@namespace      hdyzen
@version        1.5
@description    show images with real/full height in new reddit
@author         zen
==/UserStyle== */
@-moz-document domain("www.reddit.com"), domain("new.reddit.com") {
	.STit0dLageRsa2yR4te_b:has(img.media-element, ._1dwExqTGJH2jnA-MYGkEL-, img.ImageBox-image), .KVyBaj7FjzElWsqJDmw7v:has(._3b8u2OJXaSDdBWoRB7zUoK, ._1dwExqTGJH2jnA-MYGkEL-) {
		height: max-content !important;
		padding-bottom: 0 !important;

		& ._1apobczT0TzIKMWpza0OhL {
			display: flex !important;
		}

		& ._3gBRFDB5C34UWyxEe_U6mD {
			display: none !important;
		}

		& ._3JgI-GOrkmyIeDeyzXdyUD, & [style*="left:0px"], & [style*="left: 0px"], & ._2Ev7WJU0f45KxlmClce9t8 {
			position: relative !important;
			height: max-content !important;
		}

		& .media-element, & .m3aNC6yp8RrNM_-a0rrfa, & [style*="max-height: 512px"], &  [style*="max-height:512px"] {
			max-height: unset !important;
		}

		& :is(figure, li, ul), & ._1ti9kvv_PMZEF2phzAjsGW, & .KVyBaj7FjzElWsqJDmw7v {
			height: max-content !important;
		}
	}
	.rpBJOHq2PR60pnwJlUyP0 > div[style^="height"] {
		height: unset !important;

		& > .wwHbgRV0ZXGp5CHHlpo5u {
			display: unset !important;
		}
	}
}

Reviews

No reviews yet.