[ENG-1368] - Web shouldn't have rounded corners (#1697)

fix it
This commit is contained in:
Oscar Beaumont
2023-10-30 02:07:28 +11:00
committed by GitHub
parent b97abebfa2
commit fef0ec2b08
2 changed files with 2 additions and 2 deletions

BIN
Cargo.lock generated
View File

Binary file not shown.

View File

@@ -76,7 +76,7 @@ const Layout = () => {
else return <Navigate to="/" replace />;
}
const macOSFullscreen = os === 'macOS' && windowState.isFullScreen;
const macOSFullscreen = os === 'macOS' && !windowState.isFullScreen;
return (
<LayoutContext.Provider value={ctxValue}>
@@ -86,7 +86,7 @@ const Layout = () => {
// App level styles
'flex h-screen cursor-default select-none overflow-hidden text-ink',
os === 'macOS' && 'has-blur-effects',
!macOSFullscreen && 'rounded-[10px]',
macOSFullscreen && 'rounded-[10px]',
os !== 'browser' &&
os !== 'windows' &&
!macOSFullscreen &&