Merge pull request #11932 from jlmitch5/update_doc_ads

fix docsite ad placement on safari
This commit is contained in:
Brian Coca 2015-08-11 16:43:11 -04:00
commit 582edfead8

View file

@ -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;
} }