aboutsummaryrefslogtreecommitdiffstats
path: root/packages/renderer/src/components/locationBar/NavigationButtons.tsx
diff options
context:
space:
mode:
authorLibravatar Kristóf Marussy <kristof@marussy.com>2022-04-19 18:58:04 +0200
committerLibravatar Kristóf Marussy <kristof@marussy.com>2022-05-16 00:55:01 +0200
commit6538cd1293eb78ab09bc7c04bbbdc49f8cbc2f09 (patch)
tree988d62e00a90df7a40b20710adabef267a38c532 /packages/renderer/src/components/locationBar/NavigationButtons.tsx
parentfeat(renderer): Error pages (diff)
downloadsophie-6538cd1293eb78ab09bc7c04bbbdc49f8cbc2f09.tar.gz
sophie-6538cd1293eb78ab09bc7c04bbbdc49f8cbc2f09.tar.zst
sophie-6538cd1293eb78ab09bc7c04bbbdc49f8cbc2f09.zip
fix(renderer): Improve appearance in small windows
Make sure we do not overflow the viewport with the location bar or the error page. Signed-off-by: Kristóf Marussy <kristof@marussy.com>
Diffstat (limited to 'packages/renderer/src/components/locationBar/NavigationButtons.tsx')
-rw-r--r--packages/renderer/src/components/locationBar/NavigationButtons.tsx7
1 files changed, 1 insertions, 6 deletions
diff --git a/packages/renderer/src/components/locationBar/NavigationButtons.tsx b/packages/renderer/src/components/locationBar/NavigationButtons.tsx
index 219ed90..9c4ebdb 100644
--- a/packages/renderer/src/components/locationBar/NavigationButtons.tsx
+++ b/packages/renderer/src/components/locationBar/NavigationButtons.tsx
@@ -43,12 +43,7 @@ function NavigationButtons({
43 const { direction } = useTheme(); 43 const { direction } = useTheme();
44 44
45 return ( 45 return (
46 <Box 46 <Box display="flex">
47 sx={{
48 display: 'flex',
49 flexDirection: 'row',
50 }}
51 >
52 <IconButton 47 <IconButton
53 aria-label={t('back')} 48 aria-label={t('back')}
54 disabled={service === undefined || !service.canGoBack} 49 disabled={service === undefined || !service.canGoBack}