Skip to content

Twitter: Display full image in post by technoabyss

Screenshot of Twitter: Display full image in post

Details

Authortechnoabyss

LicenseNo License

Categorytwitter

Created

Updated

Size591 B

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Simple fix that prevents image previews in posts from being cropped (so you don't need to click on images to see the cutoff anymore 😃)

I have a few other more substantial Twitter styles on my profile you may want to check out.

Notes

Currently the code is a quick and dirty fix for myself, and leaves empty space in the post, which is annoying. I'll see if I can fix it.

Source code

/* ==UserStyle==
@name         Twitter: Display full image in post
@version      20240722.16.00
@namespace    https://userstyles.world/user/chitinlink
@description  Simple fix that prevents image previews in posts from being cropped (so you don't need to click on images to see the cutoff anymore 😃)I have a few other more substantial Twitter styles on my profile you may want to check out.
@author       chitinlink
@license      No License
==/UserStyle== */

@-moz-document domain("twitter.com"), domain("x.com") {
[aria-label="Image"] > div:first-child {
	background-size: contain;
}

}

Reviews

No reviews yet.