Skip to content

Commit

Permalink
Remove gradient for other area too since it renders bad on Safari
Browse files Browse the repository at this point in the history
  • Loading branch information
mdo committed Dec 3, 2020
1 parent c41da4a commit 6f005c7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 24 deletions.
13 changes: 0 additions & 13 deletions site/content/docs/5.0/examples/cheatsheet/cheatsheet.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
11 changes: 0 additions & 11 deletions site/content/docs/5.0/examples/cheatsheet/cheatsheet.rtl.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 6f005c7

Please sign in to comment.