diff --git a/public/locales/en/gamepage.json b/public/locales/en/gamepage.json index 1433f09e99..3138710b3b 100644 --- a/public/locales/en/gamepage.json +++ b/public/locales/en/gamepage.json @@ -92,9 +92,11 @@ }, "changelogFor": "Changelog for {{gameTitle}}", "downloadSize": "Download Size", + "extra_info": "Extra info", "firstPlayed": "First Played", "getting-download-size": "Getting download size", "getting-install-size": "Getting install size", + "install_info": "Install info", "installSize": "Install Size", "language": "Language", "lastPlayed": "Last Played", diff --git a/src/frontend/App.css b/src/frontend/App.css index 3c8c20652c..29a2cee3f3 100644 --- a/src/frontend/App.css +++ b/src/frontend/App.css @@ -80,6 +80,12 @@ body { } } +/* Remove outline on the root element since it's not clickable anyway and it's partially hidden away by sidebar */ + +#root:focus-visible { + outline: none; +} + /* disable links when the help is open, so users cannot navigate to another page but still use the elements of the current page */ #root:has(.HelpContent.open) { diff --git a/src/frontend/App.tsx b/src/frontend/App.tsx index 96143b9b73..6450e5033b 100644 --- a/src/frontend/App.tsx +++ b/src/frontend/App.tsx @@ -15,6 +15,7 @@ import SettingsModal from './screens/Settings/components/SettingsModal' import ExternalLinkDialog from './components/UI/ExternalLinkDialog' import WindowControls from './components/UI/WindowControls' import classNames from 'classnames' +import { ThemeProvider, createTheme } from '@mui/material/styles' function Root() { const { @@ -29,6 +30,10 @@ function Root() { const hasNativeOverlayControls = navigator['windowControlsOverlay']?.visible const showOverlayControls = isFrameless && !hasNativeOverlayControls + const theme = createTheme({ + direction: isRTL ? 'rtl' : 'ltr' + }) + return (