From 24cb4e9067f947fa00b3650099eaaa099e88dff0 Mon Sep 17 00:00:00 2001 From: diegoe Date: Sat, 6 Feb 2021 04:34:47 -0500 Subject: [PATCH] css: Add word-wrap to body tag Otherwise, the link to https://designpatternsphp.readthedocs.io/ in "The Basics" overflows the horizontal axis when width is less than 407px --- _layouts/default.html | 2 +- _layouts/page.html | 2 +- less/all.less | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/_layouts/default.html b/_layouts/default.html index 55c1b8e..5a4619f 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -17,7 +17,7 @@ diff --git a/_layouts/page.html b/_layouts/page.html index a20d46c..35cc108 100644 --- a/_layouts/page.html +++ b/_layouts/page.html @@ -17,7 +17,7 @@ diff --git a/less/all.less b/less/all.less index 744e501..bc71cc9 100644 --- a/less/all.less +++ b/less/all.less @@ -19,6 +19,7 @@ body{ font-size: 24px; line-height: 32px; text-rendering: optimizeLegibility; + word-wrap: break-word; } h1, h2, h3, h4{