Commit f7d9fbe8 authored by gijs's avatar gijs

Fix for single image

events
parent 5f39acd3
......@@ -184,6 +184,8 @@
#detail-photo [data-panel-container] {
max-width: 80vw;
overflow: hidden;
align-content: center;
justify-content: space-around;
}
#detail-photo figure[data-panel] {
......
......@@ -326,6 +326,13 @@
} else {
containers[c].style.width = '';
containers[c].style.transform = '';
var panels = getPanels(containers[c]);
for (var i=0; i<panels.length;i++) {
// Fix me, force all panels active
// if they are smaller than the wrapping container
panels[i].dataset.active = true;
}
setContainerPanelNavigation(containers[c], false, false);
}
}
}
......
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