Skip to content

Commit 2bcdff8

Browse files
authored
Merge pull request #25 from Geta/23-scrollbar-is-missing
Scrollbar is missing
2 parents db95221 + c8862f9 commit 2bcdff8

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
@using Geta.Optimizely.Tags
22
@model dynamic
3-
<iframe src="/GetaOptimizelyTags" width="100%" height="500" style="border:none;" title="Sitemaps" onload="resizeIframe(this)">
3+
<iframe src="/GetaOptimizelyTags" width="100%" height="500" style="border:none;height:100vh" title="Sitemaps">
44
</iframe>

src/Geta.Optimizely.Tags/Geta.Optimizely.Tags.Views/Views/Shared/_ShellLayout.cshtml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,6 @@
77
<meta http-equiv="X-UA-Compatible" content="IE=edge">
88
<meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'>
99
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
10-
<script>
11-
function resizeIframe(obj) {
12-
obj.style.height = obj.contentWindow.document.documentElement.scrollHeight + 'px';
13-
}
14-
</script>
1510
<title>Geta Tags</title>
1611
</head>
1712
<body>

0 commit comments

Comments
 (0)