Fixed nav height only on Android (Non tv)

This commit is contained in:
WardPearce
2025-08-19 16:58:08 +12:00
parent 54108831ca
commit 0ca6ce0755
3 changed files with 8 additions and 3 deletions
+2 -2
View File
@@ -1,12 +1,12 @@
{
"name": "Materialious",
"version": "1.10.3",
"version": "1.10.4",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "Materialious",
"version": "1.10.3",
"version": "1.10.4",
"license": "MIT",
"dependencies": {
"@capacitor-community/electron": "^5.0.0",
-1
View File
@@ -12,7 +12,6 @@
nav.top {
padding-top: calc(var(--safe-area-inset-top) + 1rem) !important;
height: 100px;
padding-bottom: 1em;
}
@@ -239,6 +239,12 @@
box-shadow: none !important;
}
</style>
{:else if Capacitor.getPlatform() === 'android'}
<style>
nav.top {
height: 120px;
}
</style>
{/if}
</svelte:head>