JensSpahnpasta@feddit.org to Technology@lemmy.worldEnglish · 3 days agoThe 49MB Web Pagethatshubham.comexternal-linkmessage-square46fedilinkarrow-up1341arrow-down16cross-posted to: webdev@programming.dev
arrow-up1335arrow-down1external-linkThe 49MB Web Pagethatshubham.comJensSpahnpasta@feddit.org to Technology@lemmy.worldEnglish · 3 days agomessage-square46fedilinkcross-posted to: webdev@programming.dev
minus-squareMonkderVierte@lemmy.ziplinkfedilinkEnglisharrow-up1·edit-22 days agoI have this usercss: [data-testid="header"], [data-mobile-fixed="1"], [data-remove-fixed="0"] { position: absolute !important; width: 100%; } main { padding-top: 2rem !important; } Works well enough on most sites. And on those it doesn’t, you can easily exclude. Can likely be expanded, but adding just header broke more than it fixed.
I have this usercss:
[data-testid="header"], [data-mobile-fixed="1"], [data-remove-fixed="0"] { position: absolute !important; width: 100%; } main { padding-top: 2rem !important; }Works well enough on most sites. And on those it doesn’t, you can easily exclude.
Can likely be expanded, but adding just
headerbroke more than it fixed.