Commit 924ab8c9 authored by Svetlana Alieksieieva's avatar Svetlana Alieksieieva Committed by Matija Obreza
Browse files

Accession map on mobile, fixed link opening, centered the map.

- Closes #189
parent bc498717
......@@ -4603,6 +4603,26 @@ table.accessions {
}
@media (max-width: 991px) {
.genesys-page, .admin-page {
#content {
.map-wrapper-mobile {
position: absolute;
padding: 0;
}
.row.map #globalmap {
background-image: url('../images/map-bg-mobile.png');
height: 200px;
position: absolute;
top: 51px;
width: 100%;
background-position-x: 50%;
background-position-y: 0;
background-size: 380px auto;
background-repeat: no-repeat;
}
}
}
//crop page
.crop-page {
.about-section .free-text div:last-child {
......@@ -4983,12 +5003,6 @@ table.accessions {
}
.row.map {
#stats {
height: 460px;
background-image: url('../images/map-bg-mobile.png');
background-position-x: 0;
background-position-y: 51px;
background-size: 380px auto;
background-repeat: no-repeat;
h2.short {
/*left: 0;*/
......
......@@ -54,7 +54,7 @@
</div>
</div>
<div class="hidden-xs col-md-8 col-sm-12">
<div class="col-xs-12 col-md-8 map-wrapper-mobile">
<%-- <h2>
<spring:message code="maps.accession-map" />
</h2> --%>
......
Markdown is supported
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