mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-11-21 07:26:18 -05:00
Fixing bug where zim articles were not aligned in modals.
This commit is contained in:
parent
9a5d1f1630
commit
898da37d47
2 changed files with 9 additions and 0 deletions
|
|
@ -194,6 +194,8 @@ const ZimSearchEntry = ({zimId, onTag, onUntag, entry}) => {
|
|||
<Modal.Content>
|
||||
<div className='preview-fit'>
|
||||
<ZimViewer src={url} style={{
|
||||
// Override IframeViewer's `fixed` so the iframe stays inside the Modal.
|
||||
position: 'static',
|
||||
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