Center client toolbar at top by default instead of right side
This commit is contained in:
@@ -123,7 +123,7 @@ export function ClientView({
|
||||
} catch {}
|
||||
|
||||
const w = toolbarRef.current?.offsetWidth ?? 220;
|
||||
setPos({ top: 8, left: window.innerWidth - w - 8 });
|
||||
setPos({ top: 8, left: Math.round((window.innerWidth - w) / 2) });
|
||||
}, []);
|
||||
|
||||
useEffect(() => {
|
||||
|
||||
Reference in New Issue
Block a user