diff --git a/src/app/components/CallEmbedProvider.tsx b/src/app/components/CallEmbedProvider.tsx
index d893f4d25..53c304b44 100644
--- a/src/app/components/CallEmbedProvider.tsx
+++ b/src/app/components/CallEmbedProvider.tsx
@@ -190,7 +190,9 @@ function IncomingCall({ dm, info, onIgnore, onAnswer, onReject }: IncomingCallPr
{roomName}
- Incoming Call
+
+ {info.intent === 'video' ? 'Incoming Video Call' : 'Incoming Voice Call'}
+
{!livekitSupported && (
@@ -490,6 +492,8 @@ export function CallEmbedProvider({ children }: CallEmbedProviderProps) {
const onPipWindowResize = (): void => {
const el = callEmbedRef.current;
if (!el) return;
+ // Normalise bottom/right → top/left so clamp math works regardless of initial position.
+ if (!el.style.left || el.style.left === 'auto') normaliseToTopLeft(el);
const l = parseFloat(el.style.left);
const t = parseFloat(el.style.top);
if (!isNaN(l))
diff --git a/src/app/components/GifPicker.tsx b/src/app/components/GifPicker.tsx
index 76e5d8fa7..2d19ee5f6 100644
--- a/src/app/components/GifPicker.tsx
+++ b/src/app/components/GifPicker.tsx
@@ -45,7 +45,7 @@ function GifPickerInner({ onSelect, requestClose, lotusTerminal }: GifPickerInne
userSelect: 'none',
}}
>
- {/* GIF_SEARCH */}
+ {'// GIF_SEARCH'}
)}
diff --git a/src/app/components/message/content/PollContent.tsx b/src/app/components/message/content/PollContent.tsx
index 6bbfec098..721c74dcb 100644
--- a/src/app/components/message/content/PollContent.tsx
+++ b/src/app/components/message/content/PollContent.tsx
@@ -280,7 +280,9 @@ export function PollContent({
position: 'absolute',
inset: 0,
width: `${pct}%`,
- background: selected ? 'rgba(255,255,255,0.10)' : 'rgba(255,255,255,0.05)',
+ background: selected
+ ? 'var(--bg-surface-active)'
+ : 'var(--bg-surface-low)',
borderRadius: '8px',
pointerEvents: 'none',
}}
diff --git a/src/app/features/call/CallControls.tsx b/src/app/features/call/CallControls.tsx
index 06b058730..e3a0059a0 100644
--- a/src/app/features/call/CallControls.tsx
+++ b/src/app/features/call/CallControls.tsx
@@ -55,6 +55,14 @@ export function CallControls({ callEmbed }: CallControlsProps) {
const [cords, setCords] = useState();
const [shareConfirm, setShareConfirm] = useState(false);
+ useEffect(() => {
+ if (!shareConfirm) return;
+ const onKeyDown = (e: KeyboardEvent) => {
+ if (e.key === 'Escape') setShareConfirm(false);
+ };
+ window.addEventListener('keydown', onKeyDown);
+ return () => window.removeEventListener('keydown', onKeyDown);
+ }, [shareConfirm]);
const [pttMode] = useSetting(settingsAtom, 'pttMode');
const [pttKey] = useSetting(settingsAtom, 'pttKey');
const [lotusTerminal] = useSetting(settingsAtom, 'lotusTerminal');
@@ -234,55 +242,62 @@ export function CallControls({ callEmbed }: CallControlsProps) {
))}
{shareConfirm && (
-
-
- Share your screen?
-
-
- Your screen will be visible to all participants in this call.
-
-
-
-
+ <>
+
setShareConfirm(false)}
+ aria-hidden="true"
+ />
+
+
+ Share your screen?
+
+
+ Your screen will be visible to all participants in this call.
+
+
+
+
+
-
+ >
)}