Skip to content

Commit

Permalink
Merge pull request #20 from molgen/fix-safari-transparency
Browse files Browse the repository at this point in the history
Preview cards: Fix transparency for Safari
  • Loading branch information
donald authored Nov 4, 2019
2 parents 81e4bda + d0c37e0 commit a70b757
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mpicms/static/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ body {
width: 100%;
border-bottom: 1.5em solid white;
position: absolute;
background-image: linear-gradient(to top, white, white, transparent);
background-image: linear-gradient(to top, white, white, rgba(255,255,255,0));
}

.is-preview h1, .is-preview h2, .is-preview h3, .is-preview h4, .is-preview h5, .is-preview h6 {
Expand Down Expand Up @@ -735,4 +735,4 @@ a.tag:hover {

.modal-image:hover, .richtext-image:hover {
cursor: pointer;
}
}

0 comments on commit a70b757

Please sign in to comment.