Skip to content
Snippets Groups Projects
Commit 1361e6d8 authored by Gervaise Henry's avatar Gervaise Henry :cowboy:
Browse files

Make minimum screen size bigger for cellxgene embed

parent 96341dec
Branches
Tags
2 merge requests!100Develop,!982021 new paper
...@@ -16,20 +16,20 @@ ...@@ -16,20 +16,20 @@
.no-cellxgene{ .no-cellxgene{
display: none; display: none;
} }
@media only screen and (max-width: 1000px) { @media only screen and (max-width: 1500px) {
.cellxgene{ .cellxgene{
display: none; display: none;
} }
.no-cellxgene{ .no-cellxgene{
margin: 0 auto; margin: 0 auto;
padding: 0 2em; padding: 0 2em;
margin-bottom: 50px; margin-bottom: 50px;
display: inherit; display: inherit;
}
} }
}
</style> </style>
<div class="cellxgene"> <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>
<div class="no-cellxgene"> <div class="no-cellxgene">
<h2>Screen width too narrow to display cellxgene</h1> <h2>Screen width too narrow to display cellxgene</h1>
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment