mirror of https://github.com/ColorlibHQ/AdminLTE
fix small iframe bug
parent
f5454e6906
commit
e4ab1e4737
|
@ -303,7 +303,7 @@ class IFrame {
|
||||||
$(SELECTOR_CONTENT_WRAPPER).height(windowHeight)
|
$(SELECTOR_CONTENT_WRAPPER).height(windowHeight)
|
||||||
$(SELECTOR_CONTENT_IFRAME).height(windowHeight)
|
$(SELECTOR_CONTENT_IFRAME).height(windowHeight)
|
||||||
} else {
|
} else {
|
||||||
const contentWrapperHeight = parseFloat($(SELECTOR_CONTENT_WRAPPER).css('min-height'))
|
const contentWrapperHeight = parseFloat($(SELECTOR_CONTENT_WRAPPER).css('height'))
|
||||||
const navbarHeight = $(SELECTOR_TAB_NAV).outerHeight()
|
const navbarHeight = $(SELECTOR_TAB_NAV).outerHeight()
|
||||||
if (tabEmpty == true) {
|
if (tabEmpty == true) {
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
|
|
|
@ -59,6 +59,7 @@ body.iframe-mode-fullscreen {
|
||||||
border: 0;
|
border: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
margin-bottom: -8px;
|
||||||
|
|
||||||
.content-wrapper {
|
.content-wrapper {
|
||||||
padding-bottom: 0 !important;
|
padding-bottom: 0 !important;
|
||||||
|
|
Loading…
Reference in New Issue