feat: move presence bar to sticky bottom-right widget

Reposition the presence bar from above main content to a sticky
bottom-right indicator that docks above the footer on scroll.
Sized to fit content rather than spanning full width.

Made-with: Cursor
This commit is contained in:
cottongin
2026-04-05 04:49:17 -04:00
parent ea6e8db90b
commit ea23b66cbf
2 changed files with 5 additions and 5 deletions

View File

@@ -46,8 +46,8 @@ function PresenceBar() {
if (!hasViewers && !hasServices) return null;
return (
<div className="container mx-auto px-2 sm:px-4 pt-3">
<div className="bg-white dark:bg-gray-800 rounded-lg shadow-sm border border-gray-200 dark:border-gray-700 px-4 py-2">
<div className="sticky bottom-0 z-40 flex justify-end px-4 pb-2 pointer-events-none">
<div className="pointer-events-auto bg-white dark:bg-gray-800 rounded-lg shadow-sm border border-gray-200 dark:border-gray-700 px-4 py-2 w-fit">
<div className="flex items-center gap-4 flex-wrap">
{hasViewers && (
<div className="flex items-center gap-2">