From c4486b4a775aac7efe689fb78383d72a5fdb45f8 Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Mon, 13 Jan 2025 21:13:16 -0800 Subject: [PATCH] refac: styling --- src/app.css | 4 ++++ src/lib/components/channel/Channel.svelte | 2 +- src/lib/components/chat/ChatControls.svelte | 2 +- src/lib/components/common/Drawer.svelte | 7 +++++-- src/lib/components/layout/Sidebar.svelte | 11 ++++++++++- src/routes/(app)/workspace/+layout.svelte | 2 +- 6 files changed, 22 insertions(+), 6 deletions(-) diff --git a/src/app.css b/src/app.css index be6195fdd..e78d68d83 100644 --- a/src/app.css +++ b/src/app.css @@ -77,6 +77,10 @@ math { -webkit-app-region: no-drag; } +.no-drag-region { + -webkit-app-region: no-drag; +} + iframe { @apply rounded-lg; } diff --git a/src/lib/components/channel/Channel.svelte b/src/lib/components/channel/Channel.svelte index c975e3213..103283e71 100644 --- a/src/lib/components/channel/Channel.svelte +++ b/src/lib/components/channel/Channel.svelte @@ -266,7 +266,7 @@ threadId = null; }} > -
+
{#if $showCallOverlay} diff --git a/src/lib/components/common/Drawer.svelte b/src/lib/components/common/Drawer.svelte index 89166e4c6..d4a950670 100644 --- a/src/lib/components/common/Drawer.svelte +++ b/src/lib/components/common/Drawer.svelte @@ -2,6 +2,7 @@ import { onDestroy, onMount, createEventDispatcher } from 'svelte'; import { flyAndScale } from '$lib/utils/transitions'; import { fade, fly, slide } from 'svelte/transition'; + import { isApp } from '$lib/stores'; const dispatch = createEventDispatcher(); @@ -57,14 +58,16 @@