Completely hide scrollbar

This commit is contained in:
WardPearce
2025-01-27 19:40:30 +13:00
parent dad9e24fca
commit f5fcc552c8
2 changed files with 12 additions and 1 deletions
@@ -17,5 +17,6 @@ public class MainActivity extends BridgeActivity {
super.onStart();
WebView webview = getBridge().getWebView();
webview.setOverScrollMode(WebView.OVER_SCROLL_NEVER);
webview.setVerticalScrollBarEnabled(false);
}
}
+11 -1
View File
@@ -77,8 +77,18 @@ main.root {
main.root {
scrollbar-width: none !important;
}
main.root::-webkit-scrollbar {
display: none !important;
}
}
@media screen and (max-width: 650px) {
::-webkit-scrollbar {
display: none !important;
}
html {
scrollbar-width: none !important;
}
}