Completely hide scrollbar
This commit is contained in:
@@ -17,5 +17,6 @@ public class MainActivity extends BridgeActivity {
|
||||
super.onStart();
|
||||
WebView webview = getBridge().getWebView();
|
||||
webview.setOverScrollMode(WebView.OVER_SCROLL_NEVER);
|
||||
webview.setVerticalScrollBarEnabled(false);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user