From 954d435b68e23dfb8545a6c08f59e99ca295b325 Mon Sep 17 00:00:00 2001 From: andy Date: Fri, 26 Nov 2021 11:06:19 +0100 Subject: [PATCH] line-height --- css/reset.min.css | 2 +- scss/reset.scss | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/css/reset.min.css b/css/reset.min.css index 62fb5aa..dd6b27b 100644 --- a/css/reset.min.css +++ b/css/reset.min.css @@ -1 +1 @@ -*{margin:0}*::before,*::after{box-sizing:border-box}html{height:100%}body{height:100%;scroll-behavior:smooth}img,picture,video,canvas,svg{display:block;max-width:100%}input,button,textarea,select{font:inherit}p,h1,h2,h3,h4,h5,h6{overflow-wrap:break-word} +*{margin:0}*::before,*::after{box-sizing:border-box}html{height:100%}body{height:100%;scroll-behavior:smooth;line-height:calc(1em + 0.5rem)}img,picture,video,canvas,svg{display:block;max-width:100%}input,button,textarea,select{font:inherit}p,h1,h2,h3,h4,h5,h6{overflow-wrap:break-word} diff --git a/scss/reset.scss b/scss/reset.scss index 4323829..db56aae 100644 --- a/scss/reset.scss +++ b/scss/reset.scss @@ -14,6 +14,7 @@ html { body { height: 100%; scroll-behavior: smooth; + line-height: calc(1em + 0.5rem); }