Last active
July 27, 2019 22:48
-
-
Save heimskr/2372b78db8c98c602ec2fcd985762ef7 to your computer and use it in GitHub Desktop.
Partial fix for Twitter's disastrous new web interface
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.css-1dbjc4n.r-150rngu.r-16y2uox.r-1wbh5a2.r-rthrr5 { | |
/* Also main content? */ | |
width: 100%; | |
} | |
.css-1dbjc4n.r-1niwhzg.r-hxarbt { | |
/* "More v" */ | |
display: none; | |
} | |
.css-1dbjc4n.r-1ysxnx4.r-k0dy70.r-t23y2h.r-1phboty.r-rs99b7.r-hxarbt.r-1udh08x { | |
/* Trending and other garbage */ | |
display: none; | |
} | |
.css-1dbjc4n.r-kemksi.r-1kqtdi0.r-t23y2h.r-1phboty.r-rs99b7.r-hxarbt.r-1udh08x { | |
/* Profile media */ | |
bottom: 0px; | |
position: fixed; | |
width: 250px; | |
} | |
.css-1dbjc4n.r-psjefw { | |
/* Containers for image/gif tweets */ | |
max-height: 400px; | |
max-width: 400px; | |
} | |
.css-901oao.r-9ilb82.r-1qd0xha.r-1enofrn.r-16dba41.r-1o9f8vr.r-jw8lkh.r-bcqeeo.r-n3sdqm.r-13wfysu.r-qvutc0 > .css-901oao.css-16my406.r-1qd0xha.r-ad9z0x.r-bcqeeo.r-qvutc0 { | |
/* copyright, etc */ | |
display: none; | |
} | |
.r-1ovo9ad.r-1awozwy { | |
/* Search bar */ | |
left: 12px; | |
position: fixed; | |
top: 5px; | |
width: 250px; | |
z-index: 1; | |
} | |
.r-e7q0ms.r-1h1bdhe.css-1dbjc4n { | |
/* Tweet button */ | |
display: none; | |
} | |
[data-testid=primaryColumn] { | |
/* Main content */ | |
display: block; | |
max-width: 100%; | |
position: absolute; | |
right: 0px; | |
width: 100%; | |
} | |
a[href="/home"][role=button] { | |
/* Twitter icon */ | |
display: none; | |
} | |
aside[aria-label="Relevant people"] { | |
display: none; | |
} | |
header[role=banner] { | |
/* Left sidebar */ | |
max-width: 275px; | |
width: 275px; | |
z-index: 0; | |
} | |
.css-1dbjc4n.r-1pi2tsx.r-1wtj0ep.r-1rnoaur.r-thmkab.r-o96wvk { | |
/* Left sidebar? */ | |
left: 0px; | |
position: fixed; | |
width: 300px; | |
top: 50px; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment