diff --git a/app/src/App.css b/app/src/App.css index 4955af5e..a6a8855f 100644 --- a/app/src/App.css +++ b/app/src/App.css @@ -160,6 +160,13 @@ input:checked + .slider:before { justify-content: center; } +/* Fresnel (Media) wraps iframes in a div which would otherwise shrink to the + default iframe size; make it fill the preview so the iframe's 100% works. */ +.preview-fit .fresnel-container { + width: 100%; + height: 100%; +} + td.file-path { cursor: pointer; } diff --git a/app/src/components/Zim.js b/app/src/components/Zim.js index 565d0608..c897ceeb 100644 --- a/app/src/components/Zim.js +++ b/app/src/components/Zim.js @@ -194,6 +194,8 @@ const ZimSearchEntry = ({zimId, onTag, onUntag, entry}) => {