Merge pull request #11932 from jlmitch5/update_doc_ads
fix docsite ad placement on safari
This commit is contained in:
commit
582edfead8
1 changed files with 10 additions and 0 deletions
|
@ -4727,18 +4727,28 @@ span[id*='MathJax-Span'] {
|
||||||
.DocSiteBanner {
|
.DocSiteBanner {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
display: -webkit-flex;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
|
-webkit-flex-wrap: wrap;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
|
-webkit-justify-content: space-between;
|
||||||
background-color: #ff5850;
|
background-color: #ff5850;
|
||||||
margin-bottom: 25px;
|
margin-bottom: 25px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.DocSiteBanner-imgWrapper {
|
||||||
|
max-width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
@media screen and (max-width: 1403px) {
|
@media screen and (max-width: 1403px) {
|
||||||
.DocSiteBanner {
|
.DocSiteBanner {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
display: -webkit-flex;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
|
-webkit-flex-wrap: wrap;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
-webkit-justify-content: center;
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
margin-bottom: 25px;
|
margin-bottom: 25px;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue