Skip to content

let iframe contents go fullscreen#13

Merged
BibMartin merged 1 commit intopython-visualization:masterfrom
sanga:let_iframe_contents_go_fullscreen
Jun 2, 2016
Merged

let iframe contents go fullscreen#13
BibMartin merged 1 commit intopython-visualization:masterfrom
sanga:let_iframe_contents_go_fullscreen

Conversation

@sanga
Copy link

@sanga sanga commented May 28, 2016

Needed in order for the fullscreen button in folium to actually do anything from within an iframe (for example in jupyter notebook).

'<div style="width:{width};">'
'<div style="position:relative;width:100%;height:0;padding-bottom:{ratio};">' # noqa
'<iframe src="{html}" style="position:absolute;width:100%;height:100%;left:0;top:0;">' # noqa
'<iframe src="{html}" style="position:absolute;width:100%;height:100%;left:0;top:0;" ' #noqa
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Put a space after the # here to make the linter happy 😉

@sanga sanga force-pushed the let_iframe_contents_go_fullscreen branch from f1a7d67 to 4e2c8c2 Compare May 29, 2016 10:02
@sanga
Copy link
Author

sanga commented May 29, 2016

Should be fixed now

@ocefpaf
Copy link
Member

ocefpaf commented May 29, 2016

LGTM. @BibMartin can branca is your baby, so I won't merge until you give your 👍

@BibMartin
Copy link
Contributor

It's fine to me. Merging. Thanks @sanga !

@BibMartin BibMartin merged commit 1f4b5fd into python-visualization:master Jun 2, 2016
@sanga sanga deleted the let_iframe_contents_go_fullscreen branch June 2, 2016 12:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants