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