Turns two rows into single one, i.e. sticks "For you | Following" right after "Home"
Twitter.com - compact(er) header by myfonj
Details
Authormyfonj
LicenseCC0
Categorytwitter
Created
Updated
Size954 B
Statistics
Learn how we calculate statistics in the FAQ.
Failed to fetch stats.
Description
Notes
Userstyle doesn't have notes.Source code
/* ==UserStyle==
@name Twitter.com - compact(er) header
@description Turns two rows into single one, i.e. sticks "For you | Following" right after "Home"
@namespace myfonj
@version 1.02
@license CC0 - Public Domain
==/UserStyle== */
@-moz-document domain("twitter.com") {
/*
https://userstyles.world/style/8302/twitter-com-compact-er-header
Changelog:
1.0.2 (2023-11-22) trim the header to only accomodate buttons
1.0.1 (2023-08-29) floater to the ~top
*/
/*
§ compact(er) header
*/
[aria-label="home timeline" i] > :first-child > :first-child {
width: max-content;
flex-direction: row;
}
/*
§ "New tweets" floating button higher (compensate above)
*/
[aria-label="home timeline" i] > :first-child > :first-child
+ [style*="transform: translate3d(0px, 0px, 0px)"][style*="translateY("]{
transform: translate(6em, -.5em) !important;
position: absolute !important;
top: 0 !important;
right: 0 !important;
z-index: 1;
}
/* */
}