From a37d191e0bd05390f7ce8716bcfe66a0248d5b7a Mon Sep 17 00:00:00 2001 From: kirti Date: Mon, 13 Mar 2023 16:59:35 +0530 Subject: [PATCH 1/4] updated hight wth % --- dist/reset.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/reset.css b/dist/reset.css index f3d489c..c2a9101 100644 --- a/dist/reset.css +++ b/dist/reset.css @@ -32,7 +32,7 @@ html:focus-within { /* Set core body defaults */ body { - min-height: 100vh; + min-height: 100%; text-rendering: optimizeSpeed; line-height: 1.5; } @@ -60,7 +60,7 @@ select { /* Remove all animations and transitions for people that prefer not to see them */ @media (prefers-reduced-motion: reduce) { html:focus-within { - scroll-behavior: auto; + scroll-behavior: auto; } *, *::before, From c1d74c370a88eda1e64e2379d5f786d59500fa2c Mon Sep 17 00:00:00 2001 From: kirti Date: Tue, 14 Mar 2023 04:29:17 +0530 Subject: [PATCH 2/4] line hight has been removed from body element #51 --- dist/reset.min.css | 56 +++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 55 insertions(+), 1 deletion(-) diff --git a/dist/reset.min.css b/dist/reset.min.css index de3be44..0ec41bb 100644 --- a/dist/reset.min.css +++ b/dist/reset.min.css @@ -1 +1,55 @@ -*,*::before,*::after{box-sizing:border-box}body,h1,h2,h3,h4,p,figure,blockquote,dl,dd{margin:0}ul[role="list"],ol[role="list"]{list-style:none}html:focus-within{scroll-behavior:smooth}body{min-height:100vh;text-rendering:optimizeSpeed;line-height:1.5}a:not([class]){text-decoration-skip-ink:auto}img,picture{max-width:100%;display:block}input,button,textarea,select{font:inherit}@media(prefers-reduced-motion:reduce){html:focus-within{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important;scroll-behavior:auto !important}} +*, +*::before, +*::after { + box-sizing: border-box; +} +body, +h1, +h2, +h3, +h4, +p, +figure, +blockquote, +dl, +dd { + margin: 0; +} +ul[role="list"], +ol[role="list"] { + list-style: none; +} +html:focus-within { + scroll-behavior: smooth; +} +body { + min-height: 100%; + text-rendering: optimizeSpeed; +} +a:not([class]) { + text-decoration-skip-ink: auto; +} +img, +picture { + max-width: 100%; + display: block; +} +input, +button, +textarea, +select { + font: inherit; +} +@media (prefers-reduced-motion: reduce) { + html:focus-within { + scroll-behavior: auto; + } + *, + *::before, + *::after { + animation-duration: 0.01ms !important; + animation-iteration-count: 1 !important; + transition-duration: 0.01ms !important; + scroll-behavior: auto !important; + } +} From 91c38b03441d07125164b37b3653a4fc983d784c Mon Sep 17 00:00:00 2001 From: kirti Date: Tue, 14 Mar 2023 22:38:44 +0530 Subject: [PATCH 3/4] Firefox bug with select and focus-within + scroll-behavior: smooth #43 updated scroll behaviour with auto as this issue i think this can solve the issue --- dist/reset.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/reset.css b/dist/reset.css index c2a9101..aa375f0 100644 --- a/dist/reset.css +++ b/dist/reset.css @@ -27,7 +27,7 @@ ol[role="list"] { /* Set core root defaults */ html:focus-within { - scroll-behavior: smooth; + scroll-behavior: auto; } /* Set core body defaults */ From f04f9eb0581f57fc98c60ec3fe0887d3b18b553c Mon Sep 17 00:00:00 2001 From: kirti Date: Fri, 17 Mar 2023 22:17:14 +0530 Subject: [PATCH 4/4] Reset margin for button element #49 reverted margin from button element --- dist/reset.css | 1 + dist/reset.min.css | 1 + src/reset.css | 3 ++- 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/dist/reset.css b/dist/reset.css index aa375f0..0468da1 100644 --- a/dist/reset.css +++ b/dist/reset.css @@ -55,6 +55,7 @@ button, textarea, select { font: inherit; + margin: revert; } /* Remove all animations and transitions for people that prefer not to see them */ diff --git a/dist/reset.min.css b/dist/reset.min.css index 0ec41bb..edc7a0a 100644 --- a/dist/reset.min.css +++ b/dist/reset.min.css @@ -39,6 +39,7 @@ button, textarea, select { font: inherit; + margin: revert; } @media (prefers-reduced-motion: reduce) { html:focus-within { diff --git a/src/reset.css b/src/reset.css index f3d489c..274fcbd 100644 --- a/src/reset.css +++ b/src/reset.css @@ -55,12 +55,13 @@ button, textarea, select { font: inherit; + margin: revert; } /* Remove all animations and transitions for people that prefer not to see them */ @media (prefers-reduced-motion: reduce) { html:focus-within { - scroll-behavior: auto; + scroll-behavior: auto; } *, *::before,