Commit 52ae461c authored by Scott Chen's avatar Scott Chen Committed by Commit Bot

MD Extensions: fix subpage height and scroll issues.

The subpage's main container is too short and contents are leaking out of it. This CL makes it such that the main-container spans full height and puts the overflow scrolling on the parent detail-view element.

Bug: 741226
Cq-Include-Trybots: master.tryserver.chromium.linux:closure_compilation
Change-Id: Ic0fe061435bc82544058533126e5eba75be8f357
Reviewed-on: https://chromium-review.googlesource.com/598504Reviewed-by: default avatarDevlin <rdevlin.cronin@chromium.org>
Commit-Queue: Scott Chen <scottchen@chromium.org>
Cr-Commit-Position: refs/heads/master@{#491575}
parent ce7039e7
...@@ -20,13 +20,14 @@ ...@@ -20,13 +20,14 @@
<style include= <style include=
"iron-flex cr-hidden-style cr-icons action-link paper-toggle-style"> "iron-flex cr-hidden-style cr-icons action-link paper-toggle-style">
:host { :host {
display: flex; display: block;
justify-content: center; height: 100%;
overflow: auto;
} }
#main { #main {
background-color: white; background-color: white;
height: 100%; margin: auto;
width: 640px; width: 640px;
} }
......
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