aboutsummaryrefslogtreecommitdiffstats
path: root/packages/renderer/src/components/errorPage
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/errorPage
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/errorPage')
-rw-r--r--packages/renderer/src/components/errorPage/ErrorPage.tsx7
1 files changed, 6 insertions, 1 deletions
diff --git a/packages/renderer/src/components/errorPage/ErrorPage.tsx b/packages/renderer/src/components/errorPage/ErrorPage.tsx
index 571059a..99ca020 100644
--- a/packages/renderer/src/components/errorPage/ErrorPage.tsx
+++ b/packages/renderer/src/components/errorPage/ErrorPage.tsx
@@ -152,7 +152,12 @@ function ErrorPage({
152 > 152 >
153 {icon} 153 {icon}
154 </Typography> 154 </Typography>
155 <Typography component="h1" variant="h3" mb={2}> 155 <Typography
156 component="h1"
157 variant="h3"
158 fontSize={{ xs: '2rem', md: '3rem' }}
159 mb={2}
160 >
156 {title} 161 {title}
157 </Typography> 162 </Typography>
158 <Typography mb={4}>{description}</Typography> 163 <Typography mb={4}>{description}</Typography>