diff --git a/.fdignore b/.fdignore index 2b1303d9..2af7ced2 100644 --- a/.fdignore +++ b/.fdignore @@ -7,6 +7,8 @@ build gradlew* _app release +ios/DerivedData/ +ios/App/Pods/ android/capacitor-cordova-android-plugins android/app/src/androidTest android/app/src/test diff --git a/capacitor.config.ts b/capacitor.config.ts index 6fdc3d2c..fe3869a7 100644 --- a/capacitor.config.ts +++ b/capacitor.config.ts @@ -12,6 +12,11 @@ const config: CapacitorConfig = { androidSplashResourceName: "splash" } }, + // Use this for live reload https://capacitorjs.com/docs/guides/live-reload + // server: { + // url: "http://192.168.1.251:1847", + // cleartext: true + // }, }; export default config; diff --git a/src/app.css b/src/app.css index 1c7ef743..69fb7b12 100644 --- a/src/app.css +++ b/src/app.css @@ -54,11 +54,58 @@ --secondary-content: oklch(var(--sc)); } +:root, body, html { @apply bg-base-300; } +/* ios */ + +.sait { + padding-top: env(safe-area-inset-top); +} + +.sair { + padding-right: env(safe-area-inset-right); +} + +.saib { + padding-bottom: env(safe-area-inset-bottom); +} + +.sail { + padding-left: env(safe-area-inset-left); +} + +.saix { + @apply sail sair; +} + +.saiy { + @apply sait saib; +} + +.sai { + @apply saiy saix; +} + +.top-sai { + top: env(safe-area-inset-top); +} + +.right-sai { + right: env(safe-area-inset-right); +} + +.bottom-sai { + bottom: env(safe-area-inset-bottom); +} + +.left-sai { + left: env(safe-area-inset-left); +} + /* utilities */ .bg-alt, diff --git a/src/app/components/PrimaryNav.svelte b/src/app/components/PrimaryNav.svelte index 7de6cb74..0851e946 100644 --- a/src/app/components/PrimaryNav.svelte +++ b/src/app/components/PrimaryNav.svelte @@ -30,7 +30,7 @@ ) -