Tighten the sidebar of links to ensure no scrollbar in short windows
Twitter tighten sidebar - HighProgrammer by alandesmet
Imported and mirrored from https://alandesmet.gitlab.io/alan-usercss/twitter-tight-sidebar.user.css
Details
Authoralandesmet
LicenseGPL-2.0-or-later
Categorytwitter
Created
Updated
Size787 B
Statistics
Learn how we calculate statistics in the FAQ.
Failed to fetch stats.
Description
Notes
If you've got a small web browser window, the Twitter sidebar with links to Home, Explore, Notifications, and the like may not fit. There is a lot of unnecessary space in there, so this style tightens it!
Source code
/* ==UserStyle==
@name Twitter tighten sidebar - HighProgrammer
@namespace gitlab.com/AlanDeSmet/alan-usercss
@version 1.0.0
@description Tighten the sidebar of links to ensure no scrollbar in short windows
@author Alan De Smet
@homepageURL https://gitlab.com/AlanDeSmet/alan-usercss
@supportURL https://gitlab.com/AlanDeSmet/alan-usercss/issues
@license GPL-2.0-or-later
@preprocessor stylus
@var range sidebarSpacing "Icon Size" [2, 0, 20, 1, "px"]
==/UserStyle== */
@-moz-document domain("twitter.com") {
header.css-1dbjc4n a.css-1dbjc4n,
header.css-1dbjc4n div.css-1dbjc4n {
/* Link around sidebar entries */
padding-top: sidebarSpacing;
padding-bottom: sidebarSpacing;
}
}