Skip to content

Instantly share code, notes, and snippets.

@pechitook
Last active August 31, 2022 08:19
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pechitook/6d3eedd8d8a3ada61f92 to your computer and use it in GitHub Desktop.
Save pechitook/6d3eedd8d8a3ada61f92 to your computer and use it in GitHub Desktop.
// Go to https://twitter.com/messages and when the DM's modal is loaded,
// open the console and run this CSS overwrite rules :)
$('.DMInbox')[0].style.maxWidth = '100%'
$('.DMInbox')[0].style.width = '100%'
$('.DMInbox')[0].style.height = '100%'
$('.DMConversation')[0].style.maxWidth = '100%'
$('.DMConversation')[0].style.width = '100%'
$('.DMConversation')[0].style.height = '100%'
$('.DMDock')[0].style.height = '100%'
$('.DMDock-conversations')[0].style.height = '100%'
$('.DMConversationContainer')[0].style.height = '100%'
$('#dm_dialog-dialog')[0].style.width = '100%'
$('#dm_dialog-dialog')[0].style.height = '100%'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment