diff --git a/news/345.bugfix b/news/345.bugfix new file mode 100644 index 000000000..51a1bd115 Binary files /dev/null and b/news/345.bugfix differ diff --git a/src/plone/staticresources/static/plone-fullscreen/fullscreen.css b/src/plone/staticresources/static/plone-fullscreen/fullscreen.css index f51629229..989701597 100644 --- a/src/plone/staticresources/static/plone-fullscreen/fullscreen.css +++ b/src/plone/staticresources/static/plone-fullscreen/fullscreen.css @@ -1,34 +1,36 @@ -.zoomable{ - cursor: pointer; -} -.zoomable:fullscreen { - width: 100%; - display: grid; - grid-template-rows: auto; -} -.zoomable:fullscreen img { - margin: 0; - position: fixed; - top: 0; - width: 100%; - height: 100%; - min-width: 0; - max-width: none; - min-height: 0; - max-height: none; - box-sizing: border-box; - object-fit: contain; - transform: none; -} -.zoomable:fullscreen figcaption{ - color: white; - width: 100%; - display: block; - position: fixed; - bottom: 0; - padding: 0.5em max(50% - 380px, 1em); - font-size: 1.2em; - text-align: center; - background-color: rgba(0, 0, 0, 0.377); -} +@media screen { + .zoomable{ + cursor: pointer; + } + .zoomable:fullscreen { + width: 100%; + display: grid; + grid-template-rows: auto; + } + .zoomable:fullscreen img { + margin: 0; + position: fixed; + top: 0; + width: 100%; + height: 100%; + min-width: 0; + max-width: none; + min-height: 0; + max-height: none; + box-sizing: border-box; + object-fit: contain; + transform: none; + } + .zoomable:fullscreen figcaption{ + color: white; + width: 100%; + display: block; + position: fixed; + bottom: 0; + padding: 0.5em max(50% - 380px, 1em); + font-size: 1.2em; + text-align: center; + background-color: rgba(0, 0, 0, 0.377); + } +} \ No newline at end of file