From 6f005c7b12244d467d638db1857b89e5e5c6c420 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Thu, 3 Dec 2020 08:13:23 -0800 Subject: [PATCH] Remove gradient for other area too since it renders bad on Safari --- .../docs/5.0/examples/cheatsheet/cheatsheet.css | 13 ------------- .../docs/5.0/examples/cheatsheet/cheatsheet.rtl.css | 11 ----------- 2 files changed, 24 deletions(-) diff --git a/site/content/docs/5.0/examples/cheatsheet/cheatsheet.css b/site/content/docs/5.0/examples/cheatsheet/cheatsheet.css index e2018e91aa55..1806c6277fb3 100644 --- a/site/content/docs/5.0/examples/cheatsheet/cheatsheet.css +++ b/site/content/docs/5.0/examples/cheatsheet/cheatsheet.css @@ -140,19 +140,6 @@ body { scroll-margin-top: 2rem; } - .bd-cheatsheet section > h2::before { - position: absolute; - /* rtl:begin:ignore */ - top: 0; - right: 0; - bottom: -2rem; - left: 0; - /* rtl:end:ignore */ - z-index: -1; - content: ""; - background-image: linear-gradient(to bottom, #fff calc(100% - 3rem), transparent); - } - .bd-cheatsheet article, .bd-cheatsheet .bd-heading { top: 8rem; diff --git a/site/content/docs/5.0/examples/cheatsheet/cheatsheet.rtl.css b/site/content/docs/5.0/examples/cheatsheet/cheatsheet.rtl.css index 01a2e31b8e85..c45d042606b6 100644 --- a/site/content/docs/5.0/examples/cheatsheet/cheatsheet.rtl.css +++ b/site/content/docs/5.0/examples/cheatsheet/cheatsheet.rtl.css @@ -138,17 +138,6 @@ body { scroll-margin-top: 2rem; } - .bd-cheatsheet section > h2::before { - position: absolute; - top: 0; - right: 0; - bottom: -2rem; - left: 0; - z-index: -1; - content: ""; - background-image: linear-gradient(to bottom, #fff calc(100% - 3rem), transparent); - } - .bd-cheatsheet article, .bd-cheatsheet .bd-heading { top: 8rem;