Moves the second row of tabs on Twitter (X.com) into a single row.
Fix Twitter (X.com) Timeline Tabs 2024 by sominemo
Details
Authorsominemo
LicenseNo License
Categoryx.com
Created
Updated
Size1.1 kB
Statistics
Learn how we calculate statistics in the FAQ.
Failed to fetch stats.
Description
Notes
This style is not properly tested yet and may break, I'll try my best to support it, contact me if you notice something.
I don't rely on aria labels for selectors because they are language dependant.
Source code
/* ==UserStyle==
@name Fix Twitter (X.com) Timeline Tabs 2023
@version 2024.10.08
@namespace userstyles.world/user/sominemo
@description Moves the second row of tabs on Twitter (X.com) into a single row.
@author Sominemo
@license No License
==/UserStyle== */
@-moz-document domain("x.com") {
.r-6026j {
flex-direction: row;
}
.r-6026j > div:nth-child(2) {
margin-left: auto;
}
.r-1gn8etr div[style="transform: translate3d(0px, 0px, 0px) translateY(106px);"] {
transform: translate3d(0px, 0px, 0px) translateY(48px) !important;
}
}
@-moz-document url-prefix("https://x.com/search"),
regexp("https://x.com/(\\w){1,}/following"),
regexp("https://x.com/(\\w){1,}/followers"),
regexp("https://x.com/(\\w){1,}/followers_you_follow"),
regexp("https://x.com/(\\w){1,}/creator-subscriptions/subscriptions"),
url-prefix("https://x.com/explore"),
url("https://x.com/settings/explore") {
.r-6026j {
flex-direction: column;
}
.r-6026j > div:nth-child(2) {
margin-left: unset;
}
}