Skip to content

Commit

Permalink
fix small iframe bug
Browse files Browse the repository at this point in the history
  • Loading branch information
REJack committed Jan 1, 2021
1 parent f5454e6 commit e4ab1e4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build/js/IFrame.js
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ class IFrame {
$(SELECTOR_CONTENT_WRAPPER).height(windowHeight)
$(SELECTOR_CONTENT_IFRAME).height(windowHeight)
} else {
const contentWrapperHeight = parseFloat($(SELECTOR_CONTENT_WRAPPER).css('min-height'))
const contentWrapperHeight = parseFloat($(SELECTOR_CONTENT_WRAPPER).css('height'))
const navbarHeight = $(SELECTOR_TAB_NAV).outerHeight()
if (tabEmpty == true) {
setTimeout(() => {
Expand Down
1 change: 1 addition & 0 deletions build/scss/pages/_iframe.scss
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ body.iframe-mode-fullscreen {
border: 0;
width: 100%;
height: 100%;
margin-bottom: -8px;

.content-wrapper {
padding-bottom: 0 !important;
Expand Down

0 comments on commit e4ab1e4

Please sign in to comment.