Merge branch 'bug-fixes-from-upgrades3' into 'main'

Bug fixes from upgrades3

See merge request walljm/dynamicbible!25
This commit is contained in:
Jason Wall 2024-03-01 05:02:35 +00:00
commit ce6b9dad08
2 changed files with 6 additions and 2 deletions

View File

@ -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);
} }
} }

View File

@ -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 {