mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-11-29 03:16:22 -05:00
Reworking file preview buttons to be consistent across screens.
This commit is contained in:
parent
29133b1e56
commit
575a1b2a80
5 changed files with 89 additions and 56 deletions
|
|
@ -191,9 +191,9 @@ const ZimSearchEntry = ({zimId, onTag, onUntag, entry}) => {
|
|||
open={open}
|
||||
onClose={() => setOpen(false)}>
|
||||
<Modal.Content>
|
||||
<div className='full-height'>
|
||||
<div className='preview-fit'>
|
||||
<ZimViewer src={url} style={{
|
||||
height: '100%', width: '100%', border: 'none', position: 'absolute', top: 0,
|
||||
height: '100%', width: '100%', border: 'none',
|
||||
// Use white to avoid iframe displaying with dark-theme.
|
||||
backgroundColor: '#ffffff',
|
||||
}}/>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue