diff --git a/layouts/custom/cellxgene.html b/layouts/custom/cellxgene.html index 19923a51d9b885c0fe6c6023851cc79296da8bed..2907d18c681b7795f6bb1ca5642e67265d6a5349 100644 --- a/layouts/custom/cellxgene.html +++ b/layouts/custom/cellxgene.html @@ -16,20 +16,20 @@ .no-cellxgene{ display: none; } -@media only screen and (max-width: 1000px) { - .cellxgene{ - display: none; - } - .no-cellxgene{ - margin: 0 auto; - padding: 0 2em; - margin-bottom: 50px; - display: inherit; + @media only screen and (max-width: 1500px) { + .cellxgene{ + display: none; + } + .no-cellxgene{ + margin: 0 auto; + padding: 0 2em; + margin-bottom: 50px; + display: inherit; + } } -} </style> <div class="cellxgene"> - <iframe name="embed" src="{{ .Params.cxg_link }}" width="100%" height="100%" frameborder="0" allowfullscreen="" ></iframe> + <iframe name="embed" src="{{ .Params.cxg_link }}" width="100%" height="100%" frameborder="0" allowfullscreen="" style="overflow: hidden"></iframe> </div> <div class="no-cellxgene"> <h2>Screen width too narrow to display cellxgene</h1>