forked from coracle/flotilla
Small ui fixes
This commit is contained in:
+1
-1
@@ -19,7 +19,7 @@ const config: CapacitorConfig = {
|
|||||||
},
|
},
|
||||||
Keyboard: {
|
Keyboard: {
|
||||||
style: "DARK",
|
style: "DARK",
|
||||||
// resizeOnFullScreen: true,
|
resizeOnFullScreen: true,
|
||||||
},
|
},
|
||||||
Badge: {
|
Badge: {
|
||||||
persist: true,
|
persist: true,
|
||||||
|
|||||||
@@ -45,7 +45,7 @@
|
|||||||
let windowHeight = $state(0)
|
let windowHeight = $state(0)
|
||||||
|
|
||||||
const itemHeight = 56
|
const itemHeight = 56
|
||||||
const navPadding = 6 * itemHeight
|
const navPadding = 8 * itemHeight
|
||||||
const itemLimit = $derived((windowHeight - navPadding) / itemHeight)
|
const itemLimit = $derived((windowHeight - navPadding) / itemHeight)
|
||||||
const [primarySpaceUrls, secondarySpaceUrls] = $derived(splitAt(itemLimit, $userSpaceUrls))
|
const [primarySpaceUrls, secondarySpaceUrls] = $derived(splitAt(itemLimit, $userSpaceUrls))
|
||||||
const anySpaceNotifications = $derived($userSpaceUrls.some(hasNotification))
|
const anySpaceNotifications = $derived($userSpaceUrls.some(hasNotification))
|
||||||
|
|||||||
@@ -239,8 +239,8 @@
|
|||||||
{/if}
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
</SecondaryNavSection>
|
</SecondaryNavSection>
|
||||||
<div class="flex flex-col gap-2 p-4 pt-0">
|
<div class="flex flex-col gap-2 pb-2 p-4 pt-0">
|
||||||
<Button class="btn btn-neutral btn-sm" onclick={showDetail}>
|
<Button class="btn btn-neutral btn-sm h-10" onclick={showDetail}>
|
||||||
<SocketStatusIndicator {url} />
|
<SocketStatusIndicator {url} />
|
||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user