summaryrefslogtreecommitdiffstats
path: root/remoting
diff options
context:
space:
mode:
authorjamiewalch@google.com <jamiewalch@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-02 21:51:27 +0000
committerjamiewalch@google.com <jamiewalch@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-02 21:51:27 +0000
commit82de94f06f281a3cc230cd76526756d5e54a8c71 (patch)
tree4f8c7cb311c7abc942c831d382cea4922cfff08a /remoting
parent9f29d1ca060293245bede64f36d700f90a3e3057 (diff)
downloadchromium_src-82de94f06f281a3cc230cd76526756d5e54a8c71.zip
chromium_src-82de94f06f281a3cc230cd76526756d5e54a8c71.tar.gz
chromium_src-82de94f06f281a3cc230cd76526756d5e54a8c71.tar.bz2
Make modal dialogs fixed instead of absolute.
Using absolute positioning means that the dialogs and screen scroll with the page, making it awkward to enable the local host if there's already a long host list. Worse, since the screen height is equal to the window height, scrolling it means that the underlying UI is visible and clickable. BUG=None TEST=Make sure that the web-app has scrollbars and open a modal dialog. Scroll and make sure that the background UI remains hidden and unclickable. Review URL: https://chromiumcodereview.appspot.com/10340007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134998 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting')
-rw-r--r--remoting/webapp/main.css4
1 files changed, 2 insertions, 2 deletions
diff --git a/remoting/webapp/main.css b/remoting/webapp/main.css
index a75ae9a..0e698e1 100644
--- a/remoting/webapp/main.css
+++ b/remoting/webapp/main.css
@@ -483,7 +483,7 @@ button {
}
#dialog-container {
- position: absolute;
+ position: fixed;
top: 200px;
left: 0;
width: 100%;
@@ -491,7 +491,7 @@ button {
}
#dialog-screen {
- position: absolute;
+ position: fixed;
top: 0;
left: 0;
width: 100%;