vincentbernat.i3wm-configur.../dotfiles/firefox.css
Vincent Bernat c7ef5b0fbf firefox: try using proximity to snap stuff
Otherwise, very big tweets may be difficult to scroll pass.
2022-09-06 20:25:46 +02:00

18 lines
508 B
CSS

/* To be symlinked in Firefox profile as chrome/userContent.css */
@-moz-document domain(twitter.com) {
html {
scroll-snap-type: y proximity !important;
}
/* Tweets in the timeline are <article> elements */
article {
scroll-snap-align: start !important;
}
/* Un-stick the sticky header and make it “snappable” as well */
[aria-label="Home timeline"] > :first-child {
position: static !important;
scroll-snap-align: start !important;
}
}