Commit 6c9ccd1a authored by jamiewalch's avatar jamiewalch Committed by Commit bot

Fix dialog screen position.

https://codereview.chromium.org/478033004/ broke the dialog screen, causing it
to cover the title-bar in apps v2. This fixes it be adding an explicit <div>
representing the window client area (the logical <body> for apps v2).

Review URL: https://codereview.chromium.org/507013002

Cr-Commit-Position: refs/heads/master@{#292465}
parent 196db197
...@@ -25,6 +25,8 @@ found in the LICENSE file. ...@@ -25,6 +25,8 @@ found in the LICENSE file.
<meta-include src="webapp/html/window_frame.html"/> <meta-include src="webapp/html/window_frame.html"/>
<div class="window-body">
<!-- loading-mode is initially visible, but becomes hidden as soon as an <!-- loading-mode is initially visible, but becomes hidden as soon as an
AppMode is selected by remoting.init. All other divs are initially AppMode is selected by remoting.init. All other divs are initially
hidden, but are shown appropriately when the mode changes. --> hidden, but are shown appropriately when the mode changes. -->
...@@ -95,7 +97,9 @@ found in the LICENSE file. ...@@ -95,7 +97,9 @@ found in the LICENSE file.
<div id="statistics" dir="ltr" class="selectable" hidden> <div id="statistics" dir="ltr" class="selectable" hidden>
</div> </div>
</div> <!-- scroller -> </div> <!-- scroller -->
</div> <!-- window-body -->
</body> </body>
</html> </html>
...@@ -3,6 +3,10 @@ ...@@ -3,6 +3,10 @@
* found in the LICENSE file. * found in the LICENSE file.
*/ */
.window-body {
position: relative;
}
html.apps-v2, html.apps-v2,
html.apps-v2 body { html.apps-v2 body {
height: 100%; height: 100%;
......
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