Merge pull request #28875 from arbrandes/arbrandes/se-4876-fix-onresize-loop
fix: avoid onresize height loop [SE-4876]
This commit is contained in:
@@ -125,7 +125,10 @@
|
||||
<!-- fragment head -->
|
||||
{{ fragment.head_html | safe }}
|
||||
</head>
|
||||
<body>
|
||||
<!-- The default stylesheet will set the body min-height to 100% (a common strategy to allow for background
|
||||
images to fill the viewport), but this has the undesireable side-effect of causing an infinite loop via the onResize
|
||||
event listeners below, in certain situations. Resetting it to the default "auto" skirts the problem.-->
|
||||
<body style="min-height: auto">
|
||||
<!-- fragment body -->
|
||||
{{ fragment.body_html | safe }}
|
||||
<!-- fragment foot -->
|
||||
|
||||
Reference in New Issue
Block a user