diff --git a/src/index.css b/src/index.css index f31ec30..c93cd45 100644 --- a/src/index.css +++ b/src/index.css @@ -82,6 +82,7 @@ html, bottom: 0; background-color: #d3d3d3; width: 100%; + height: 50%; overflow-y: hidden; padding: 1em; padding: 0 5px 1em 5px; @@ -89,6 +90,9 @@ html, -webkit-transition: height .5s; transition: height .5s; } +.viewer-info.is-maximized { + height: 100%; +} .viewer-info-close { position: absolute; top: 1em; diff --git a/src/modules/app/app.tag.html b/src/modules/app/app.tag.html index acbebe6..c017f3e 100644 --- a/src/modules/app/app.tag.html +++ b/src/modules/app/app.tag.html @@ -8,7 +8,8 @@ + onclick="{ toggleInfo }" + aria-controls="info-panel"> diff --git a/src/modules/info-panel/info-panel.tag.html b/src/modules/info-panel/info-panel.tag.html index 6cea32b..ea2140c 100644 --- a/src/modules/info-panel/info-panel.tag.html +++ b/src/modules/info-panel/info-panel.tag.html @@ -1,4 +1,4 @@ - +
- + + onclick="{ onClose }">
@@ -27,8 +27,11 @@
\ No newline at end of file