diff options
author | Kristóf Marussy <kristof@marussy.com> | 2022-05-15 17:47:25 +0200 |
---|---|---|
committer | Kristóf Marussy <kristof@marussy.com> | 2022-05-17 14:44:49 +0200 |
commit | d2336f5368587d29baf90fa6625e7b768861608e (patch) | |
tree | 6ae85ce59e830a40702609c3dac277fd5f9d2aca /packages/renderer/src/components/errorPage/TrustCertificateDialog.tsx | |
parent | fix(renderer): reduce white flash on start (diff) | |
download | sophie-d2336f5368587d29baf90fa6625e7b768861608e.tar.gz sophie-d2336f5368587d29baf90fa6625e7b768861608e.tar.zst sophie-d2336f5368587d29baf90fa6625e7b768861608e.zip |
feat(renderer): use system fonts
This decreases bundle size and avoid layout shifts due to font loading.
Where it is not apparent wheter people can interact with a button, icons
were added to disambiguate the button from the surrounding text.
Signed-off-by: Kristóf Marussy <kristof@marussy.com>
Diffstat (limited to 'packages/renderer/src/components/errorPage/TrustCertificateDialog.tsx')
-rw-r--r-- | packages/renderer/src/components/errorPage/TrustCertificateDialog.tsx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/packages/renderer/src/components/errorPage/TrustCertificateDialog.tsx b/packages/renderer/src/components/errorPage/TrustCertificateDialog.tsx index 630cbe0..372498b 100644 --- a/packages/renderer/src/components/errorPage/TrustCertificateDialog.tsx +++ b/packages/renderer/src/components/errorPage/TrustCertificateDialog.tsx | |||
@@ -39,8 +39,7 @@ export default function TrustCertificateDialog({ | |||
39 | return ( | 39 | return ( |
40 | <> | 40 | <> |
41 | <Typography mt={2}> | 41 | <Typography mt={2}> |
42 | <WarningAmberIcon fontSize="inherit" />{' '} | 42 | <WarningAmberIcon fontSize="inherit" /> {t('trustWarning')} |
43 | <strong>{t('trustWarning')}</strong> | ||
44 | </Typography> | 43 | </Typography> |
45 | <Box mt={1}> | 44 | <Box mt={1}> |
46 | <Button | 45 | <Button |