/* ==UserStyle== @name X uses the whole window @namespace gitstable.com/askrobots/x-whole-window @version 2026.11.4 @description X's timeline and its posts take the free width of the window instead of a fixed 600px column; the sidebar keeps its width. @author AskRobots @license MIT @homepageURL https://gitstable.com/repositories/askrobots/x-whole-window/ ==/UserStyle== */ @-moz-document domain("x.com"), domain("twitter.com") { div[class*="xl:max-w-[1280px]"] { max-width: none !important; } div[class*="lg:grid-cols-[var(--x-main-column-width)"] { max-width: none !important; } @media (min-width: 1024px) { div[class*="lg:grid-cols-[var(--x-main-column-width)"] { grid-template-columns: minmax(0, 1fr) 350px !important; } } main[class*="max-w-(--x-main-column-width)"], main [class*="max-w-(--x-main-column-width)"] { max-width: none !important; } main { --x-timeline-max-width: none; } main [class*="max-w-[var(--x-timeline-max-width"] { max-width: none !important; } main[role="main"] > div { width: 100% !important; max-width: none !important; } [data-testid="primaryColumn"] { max-width: none !important; width: auto !important; flex: 1 1 0% !important; min-width: 0 !important; } [data-testid="primaryColumn"] div:has(> section[role="region"]) { max-width: none !important; } header[role="banner"] { flex-grow: 0 !important; } }