From bd14dabe399404fdf47f85f7f7522d686a34df3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Voisin?= Date: Mon, 18 Aug 2025 03:41:51 +0200 Subject: [PATCH] fix: break links and make font size smaller on mobile --- src/styles/blog.scss | 2 +- src/styles/global.scss | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/styles/blog.scss b/src/styles/blog.scss index 40f9693..360feba 100644 --- a/src/styles/blog.scss +++ b/src/styles/blog.scss @@ -12,7 +12,7 @@ main { p, li { - font-size: 1.125rem; + font-size: clamp(1rem, 2.5vw, 1.125rem); line-height: 1.75; text-align: justify; } diff --git a/src/styles/global.scss b/src/styles/global.scss index 81ff0dd..96c72fe 100644 --- a/src/styles/global.scss +++ b/src/styles/global.scss @@ -63,6 +63,7 @@ p { a { color: inherit; text-decoration: none; + word-break: break-all; } .link { -- 2.51.2