incorporate page layout changes from dev and other cleanup
This commit is contained in:
@@ -25,9 +25,9 @@
|
|||||||
<key>LSRequiresIPhoneOS</key>
|
<key>LSRequiresIPhoneOS</key>
|
||||||
<true/>
|
<true/>
|
||||||
<key>NSCameraUsageDescription</key>
|
<key>NSCameraUsageDescription</key>
|
||||||
<string>Flotilla uses the camera for video in voice rooms.</string>
|
<string>Flotilla uses the camera when you enable it in a voice room.</string>
|
||||||
<key>NSMicrophoneUsageDescription</key>
|
<key>NSMicrophoneUsageDescription</key>
|
||||||
<string>Flotilla uses the microphone for voice chat in rooms.</string>
|
<string>Flotilla uses the microphone when you enable it in a voice room.</string>
|
||||||
<key>UIBackgroundModes</key>
|
<key>UIBackgroundModes</key>
|
||||||
<array>
|
<array>
|
||||||
<string>remote-notification</string>
|
<string>remote-notification</string>
|
||||||
|
|||||||
@@ -30,7 +30,6 @@
|
|||||||
--saib: var(--safe-area-inset-bottom, env(safe-area-inset-bottom));
|
--saib: var(--safe-area-inset-bottom, env(safe-area-inset-bottom));
|
||||||
--sail: var(--safe-area-inset-left, env(safe-area-inset-left));
|
--sail: var(--safe-area-inset-left, env(safe-area-inset-left));
|
||||||
--sair: var(--safe-area-inset-right, env(safe-area-inset-right));
|
--sair: var(--safe-area-inset-right, env(safe-area-inset-right));
|
||||||
--video-call-panel-bg: #181e24;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@utility py-sai {
|
@utility py-sai {
|
||||||
|
|||||||
@@ -152,11 +152,11 @@
|
|||||||
const panelChrome = $derived(
|
const panelChrome = $derived(
|
||||||
cx(
|
cx(
|
||||||
variant === "mobile" &&
|
variant === "mobile" &&
|
||||||
"cb top-[calc(var(--sait)+6rem)] cw z-compose bg-[var(--video-call-panel-bg)] fixed inset-x-0 flex min-h-0 flex-col gap-2 overflow-y-auto overflow-x-hidden px-2 pb-2 pt-1 md:hidden",
|
"flex min-h-0 w-full flex-1 flex-col gap-2 overflow-y-auto overflow-x-hidden bg-base-200 px-2 pt-4 md:hidden pb-[calc(3.5rem+var(--saib))]",
|
||||||
variant === "desktop-split" &&
|
variant === "desktop-split" &&
|
||||||
"cb ct cw-split-video z-compose bg-[var(--video-call-panel-bg)] fixed hidden min-h-0 flex-col gap-2 overflow-hidden p-2 md:flex",
|
"flex min-h-0 w-full min-w-0 flex-1 flex-col gap-2 overflow-hidden bg-base-200 px-2 pb-2 pt-4",
|
||||||
variant === "desktop-full" &&
|
variant === "desktop-full" &&
|
||||||
"cb ct cw z-compose bg-[var(--video-call-panel-bg)] fixed hidden min-h-0 flex-col gap-2 overflow-hidden p-2 md:flex",
|
"flex min-h-0 w-full min-w-0 flex-1 flex-col gap-2 overflow-hidden bg-base-200 px-2 pb-2 pt-4",
|
||||||
className,
|
className,
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
@@ -246,7 +246,7 @@
|
|||||||
<div class="min-h-0 flex-1 overflow-hidden">
|
<div class="min-h-0 flex-1 overflow-hidden">
|
||||||
{@render videoPanelBody()}
|
{@render videoPanelBody()}
|
||||||
</div>
|
</div>
|
||||||
<div class="shrink-0">
|
<div class="shrink-0 pb-2">
|
||||||
<VoiceWidget />
|
<VoiceWidget />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -123,7 +123,7 @@
|
|||||||
const onLayoutToggle = () => {
|
const onLayoutToggle = () => {
|
||||||
if (!showVoiceLayoutToggle) return
|
if (!showVoiceLayoutToggle) return
|
||||||
if (isMd) {
|
if (isMd) {
|
||||||
voiceDesktopRoomPanel.update(p => (p === "split" ? "chat" : "split"))
|
voiceDesktopRoomPanel.update(p => (p === "split" ? "video" : "split"))
|
||||||
} else {
|
} else {
|
||||||
voiceMobileRoomPanel.update(p => (p === "chat" ? "video" : "chat"))
|
voiceMobileRoomPanel.update(p => (p === "chat" ? "video" : "chat"))
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -489,9 +489,9 @@
|
|||||||
{id}
|
{id}
|
||||||
class="flex items-center py-2 text-xs transition-colors"
|
class="flex items-center py-2 text-xs transition-colors"
|
||||||
class:opacity-0={showFixedNewMessages}>
|
class:opacity-0={showFixedNewMessages}>
|
||||||
<div class="h-px grow bg-primary"></div>
|
<div class="h-px flex-grow bg-primary"></div>
|
||||||
<p class="rounded-full bg-primary px-2 py-1 text-primary-content">New Messages</p>
|
<p class="rounded-full bg-primary px-2 py-1 text-primary-content">New Messages</p>
|
||||||
<div class="h-px grow bg-primary"></div>
|
<div class="h-px flex-grow bg-primary"></div>
|
||||||
</div>
|
</div>
|
||||||
{:else if type === "date"}
|
{:else if type === "date"}
|
||||||
<Divider>{value}</Divider>
|
<Divider>{value}</Divider>
|
||||||
|
|||||||
Reference in New Issue
Block a user