Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1389)

Unified Diff: remoting/webapp/main.css

Issue 478033004: Fix a couple of scroll-related issues: (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed position and size for apps v1. Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/webapp/html/template_main.html ('k') | remoting/webapp/window_frame.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/webapp/main.css
diff --git a/remoting/webapp/main.css b/remoting/webapp/main.css
index 822d6e2f349f2dadba0b374f31f02af8fe701dda..3337ed40a02768691a98fd6a329e63423c00bba4 100644
--- a/remoting/webapp/main.css
+++ b/remoting/webapp/main.css
@@ -619,6 +619,7 @@ button {
top: 200px;
left: 0;
width: 100%;
+ z-index: 2;
}
.dialog-screen {
@@ -629,6 +630,15 @@ button {
height: 100%;
background-color: #fff;
opacity: 0.75;
+ z-index: 1;
+}
+
+/* For apps v2, don't cover the 1px window border. */
+html.apps-v2 .dialog-screen {
+ width: calc(100% - 2px);
+ height: calc(100% - 2px);
+ top: 1px;
+ left: 1px;
}
/* TODO(jamiewalch): crbug.com/252796: Remove these once crbug.com/240772
@@ -747,6 +757,12 @@ html.apps-v2.scrollable {
width: 100%;
}
+/* Override full-height class until connected, otherwise it takes up 100% of
+ * the window height in addition to the home-screen UI. */
+body:not(.connected) #session-mode {
+ height: auto;
+}
+
/* video-container needs relative position so that mediasource-video-output can
* be positioned relative to the parent with position:absolute. */
#video-container {
« no previous file with comments | « remoting/webapp/html/template_main.html ('k') | remoting/webapp/window_frame.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698