From 167053d57c60d952447192712bf2ddd3236b0a80 Mon Sep 17 00:00:00 2001 From: Mike Thomas <78363703+mike-j-thomas@users.noreply.github.com> Date: Wed, 29 Sep 2021 12:34:16 +0900 Subject: [PATCH] Handbook style fix (#2253) Reduced handbook template width to bring inline with the width in Figma. (The extra 200px forces the text content a little too wide, introducing reading fatigue.) Reverted paragraph font size back to default 16px, and also removed the bootstrap override to avoid duplicate declarations. Thank you @eashaw for humoring me with the font-size change. I realise now that it's not the size, but the actual font that is the issue. Looks like there is a discrepancy between how Figma and the browser are rendering Nunito (specifically the curly tails on the 'l'). I will track this separately for later. --- website/assets/styles/bootstrap-overrides.less | 1 - website/assets/styles/pages/handbook/basic-handbook.less | 1 - website/views/pages/handbook/basic-handbook.ejs | 2 +- 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/website/assets/styles/bootstrap-overrides.less b/website/assets/styles/bootstrap-overrides.less index 93b02dcf17..2db005e2d9 100644 --- a/website/assets/styles/bootstrap-overrides.less +++ b/website/assets/styles/bootstrap-overrides.less @@ -43,7 +43,6 @@ h2 { } p { - font-size: 16px; line-height: 24px; } diff --git a/website/assets/styles/pages/handbook/basic-handbook.less b/website/assets/styles/pages/handbook/basic-handbook.less index a598072bdd..ebcf11d4a7 100644 --- a/website/assets/styles/pages/handbook/basic-handbook.less +++ b/website/assets/styles/pages/handbook/basic-handbook.less @@ -190,7 +190,6 @@ } p { font-family: @header-font; - font-size: 14px; } ul { list-style-type: disc; diff --git a/website/views/pages/handbook/basic-handbook.ejs b/website/views/pages/handbook/basic-handbook.ejs index 156ee53aff..b47b1ff511 100644 --- a/website/views/pages/handbook/basic-handbook.ejs +++ b/website/views/pages/handbook/basic-handbook.ejs @@ -1,5 +1,5 @@
-
+