From 90fafb792997c07c4f1914bdc9c3efd54bd7539a Mon Sep 17 00:00:00 2001 From: "kelvinp@chromium.org" Date: Wed, 19 Mar 2014 06:25:49 +0000 Subject: Cause: In the chromoting app, dialogues boxes are centered using flexbox. There is a recent regression in blink that causes flexbox to stop resizing when the content of its children get smaller. Bug 353216 is filed to track the issue. https://code.google.com/p/chromium/issues/detail?id=353216 Fix: There are simpler alternatives to horizontally center DOM elements without using complex layouts like flexbox. This change removes the flex box and sets margin to auto on the dialogs. BUG=341976 Review URL: https://codereview.chromium.org/201293009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@257873 0039d316-1c4b-4281-b951-d872f2087c98 --- remoting/webapp/html/dialog_auth.html | 2 -- remoting/webapp/html/template_main.html | 4 ---- remoting/webapp/main.css | 2 +- 3 files changed, 1 insertion(+), 7 deletions(-) (limited to 'remoting/webapp') diff --git a/remoting/webapp/html/dialog_auth.html b/remoting/webapp/html/dialog_auth.html index 92c3764..b57e5a5 100644 --- a/remoting/webapp/html/dialog_auth.html +++ b/remoting/webapp/html/dialog_auth.html @@ -8,7 +8,6 @@ found in the LICENSE file.
-

-
diff --git a/remoting/webapp/html/template_main.html b/remoting/webapp/html/template_main.html index d7d455e..e690e3f 100644 --- a/remoting/webapp/html/template_main.html +++ b/remoting/webapp/html/template_main.html @@ -53,8 +53,6 @@ found in the LICENSE file. data-ui-mode="home.host home.client home.history home.confirm-host-delete home.host-install home.host-setup home.token-refresh-failed home.manage-pairings" hidden> -
- @@ -78,8 +76,6 @@ found in the LICENSE file. -
-