From 4e2d1c5dcd25d19c610cb2521ab20b80b0550e41 Mon Sep 17 00:00:00 2001 From: Robert Long Date: Mon, 6 Dec 2021 12:19:38 -0800 Subject: [PATCH] Fix mute/unmute styling --- src/PopoverMenu.jsx | 1 + src/PopoverMenu.module.css | 1 + src/Room.jsx | 7 ++----- src/RoomButton.jsx | 19 ++++++++----------- src/RoomButton.module.css | 9 +++++++-- src/UserMenu.jsx | 7 ++----- src/UserMenu.module.css | 16 ---------------- 7 files changed, 21 insertions(+), 39 deletions(-) diff --git a/src/PopoverMenu.jsx b/src/PopoverMenu.jsx index f5ba72a..5c1e6cb 100644 --- a/src/PopoverMenu.jsx +++ b/src/PopoverMenu.jsx @@ -52,6 +52,7 @@ export function PopoverMenu({ children, placement, ...rest }) { {popoverMenuState.isOpen && diff --git a/src/PopoverMenu.module.css b/src/PopoverMenu.module.css index d42c1db..241f7b8 100644 --- a/src/PopoverMenu.module.css +++ b/src/PopoverMenu.module.css @@ -21,6 +21,7 @@ align-items: center; padding: 0 12px; color: var(--textColor1); + font-size: 14px; } .popoverMenuItem > * { diff --git a/src/Room.jsx b/src/Room.jsx index 3e90657..c39b367 100644 --- a/src/Room.jsx +++ b/src/Room.jsx @@ -334,7 +334,7 @@ function RoomSetupView({ }))} > @@ -532,10 +532,7 @@ function InRoomView({ )}
- + {canScreenshare && !isSafari && ( { + ({ on, off, className, children, ...rest }, ref) => { const { buttonProps } = useButton(rest, ref); return (