mirror of
https://gitlab.com/walljm/dynamicbible.git
synced 2025-07-23 15:30:14 -04:00
Merge branch 'bug-fixes-from-upgrades3' into 'main'
Bug fixes from upgrades3 See merge request walljm/dynamicbible!25
This commit is contained in:
commit
ce6b9dad08
@ -13,12 +13,16 @@ public class MainActivity extends BridgeActivity {
|
|||||||
super.onCreate(savedInstanceState);
|
super.onCreate(savedInstanceState);
|
||||||
|
|
||||||
// Grab WebView
|
// Grab WebView
|
||||||
WebView webView = (WebView) findViewById(R.id.webview);
|
WebView webView = findViewById(R.id.webview);
|
||||||
WebView.setWebContentsDebuggingEnabled(true);
|
WebView.setWebContentsDebuggingEnabled(true);
|
||||||
|
|
||||||
// The Magic
|
// The Magic
|
||||||
WebSettings webSettings = webView.getSettings();
|
WebSettings webSettings = webView.getSettings();
|
||||||
webSettings.setUseWideViewPort(true);
|
webSettings.setUseWideViewPort(true);
|
||||||
|
|
||||||
|
// The user might have set a text zoom, but that screws
|
||||||
|
// with the icon sizes. So set a specific zoom here
|
||||||
|
// first.
|
||||||
|
webView.getSettings().setTextZoom(110);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -27,7 +27,7 @@ html {
|
|||||||
|
|
||||||
--mat-toolbar-title-text-size: 16pt !important;
|
--mat-toolbar-title-text-size: 16pt !important;
|
||||||
--mdc-list-list-item-label-text-size: 14pt !important;
|
--mdc-list-list-item-label-text-size: 14pt !important;
|
||||||
--mdc-icon-button-icon-size: 15pt !important;
|
--mdc-icon-button-icon-size: 18pt !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user