Last active
December 2, 2023 20:35
-
-
Save victorbnl/f9908af60d94d530f918807406c877e0 to your computer and use it in GitHub Desktop.
Instagram full-screen, no sidebar DMs
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
/* Hide scrollbar */ | |
html[data-js-focus-visible] { | |
overflow-y: hidden !important; | |
} | |
/* Hide sidebar */ | |
body > div:nth-child(2) > div > div > div:nth-child(2) > div > div > div > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) { | |
display: none !important; | |
} | |
/* Remove sidebar space on the left */ | |
body > div:nth-child(2) > div > div > div:nth-child(2) > div > div > div:nth-child(1) > div:nth-child(1) > div:nth-child(2) { | |
width: 100% !important; | |
} | |
/* Remove sidebar space on the bottom */ | |
body > div:nth-child(2) > div > div > div:nth-child(2) > div > div > div > div:nth-child(1) > div:nth-child(1) > div:nth-child(2) > section > div > div > div { | |
min-height: 100vh !important; | |
height: 100% !important; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment