diff options
author | Kristóf Marussy <kristof@marussy.com> | 2022-04-19 18:58:04 +0200 |
---|---|---|
committer | Kristóf Marussy <kristof@marussy.com> | 2022-05-16 00:55:01 +0200 |
commit | 6538cd1293eb78ab09bc7c04bbbdc49f8cbc2f09 (patch) | |
tree | 988d62e00a90df7a40b20710adabef267a38c532 /packages/renderer/src/components/locationBar/NavigationButtons.tsx | |
parent | feat(renderer): Error pages (diff) | |
download | sophie-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.tsx | 7 |
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} |