diff --git a/application/views/scripts/iframe/index.phtml b/application/views/scripts/iframe/index.phtml index 7f409d0f6..96e9de700 100644 --- a/application/views/scripts/iframe/index.phtml +++ b/application/views/scripts/iframe/index.phtml @@ -1,4 +1,8 @@ +
- \ No newline at end of file + +
+ +
diff --git a/public/css/icinga/main.less b/public/css/icinga/main.less index 98b8adabb..938dee3b9 100644 --- a/public/css/icinga/main.less +++ b/public/css/icinga/main.less @@ -215,3 +215,21 @@ a:hover > .icon-cancel { height: 100%; vertical-align: middle; } + +// Responsive iFrames + +.iframe-container { + position: relative; + height: 0; + overflow: hidden; + padding-bottom: 75%; + width: 100%; + + & > iframe { + position: absolute; + left: 0; + top: 0; + height: 100%; + width: 100%; + } +}