Commit c4be6a9f authored by Steven Bennetts's avatar Steven Bennetts Committed by Commit Bot

Set internet dialog bodies to overflow:hidden

Without this change, cr-dialog will scroll with the content.
This fixes that issue.

Bug: 828795
Change-Id: I75ed18dd8f8cc2b8f0f93395b207c99fd53bbf99
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1826118Reviewed-by: default avatarDemetrios Papadopoulos <dpapad@chromium.org>
Reviewed-by: default avatarJames Cook <jamescook@chromium.org>
Commit-Queue: Steven Bennetts <stevenjb@chromium.org>
Cr-Commit-Position: refs/heads/master@{#700297}
parent 94aef475
......@@ -23,6 +23,21 @@
</head>
<style>
body,
html {
height: 100%;
margin: 0;
overflow: hidden;
width: 100%;
}
#content {
height: 100%;
overflow: auto;
}
</style>
<body>
<dom-module id="internet-config-dialog">
......@@ -78,7 +93,9 @@
<script src="internet_config_dialog.js"></script>
</dom-module>
<internet-config-dialog></internet-config-dialog>
<div id="content">
<internet-config-dialog></internet-config-dialog>
</div>
</body>
......
......@@ -34,6 +34,21 @@
</head>
<style>
body,
html {
height: 100%;
margin: 0;
overflow: hidden;
width: 100%;
}
#content {
height: 100%;
overflow: auto;
}
</style>
<body>
<dom-module id="internet-detail-dialog">
......@@ -187,7 +202,9 @@
<script src="internet_detail_dialog.js"></script>
</dom-module>
<internet-detail-dialog></internet-detail-dialog>
<div id="content">
<internet-detail-dialog></internet-detail-dialog>
</div>
</body>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment