From 684b785a58b8e5328ee1f0652acff8fead2f048b Mon Sep 17 00:00:00 2001
From: Shane Tomlinson <stomlinson@mozilla.com>
Date: Fri, 13 Jul 2012 14:35:52 +0100
Subject: [PATCH] Show content for cookies_disabled and unsupported_dialog on
 mobile devices.

* This is still not pretty, but it is a safe for hotfix into staging. This makes the unsupported dialog and cookies disabled screens look equivalent to the current prod.

cherry picked from the stage hotfix - 977706bc288660a5b40c5ea58001fc9bba4fda90
---
 resources/static/dialog/css/m.css | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/resources/static/dialog/css/m.css b/resources/static/dialog/css/m.css
index 6412f9d7c..bf3a75217 100644
--- a/resources/static/dialog/css/m.css
+++ b/resources/static/dialog/css/m.css
@@ -196,5 +196,13 @@
   .inputs > li {
     margin-top: 12px;
   }
+
+  /* The unsupported and cookies_disabled dialogs have to be position: static
+   * or else their content is not displayed on mobile devices. See issue #1998
+   */
+  #error.unsupported, #error.cookies_disabled {
+    position: static;
+    height: 250px;
+  }
 }
 
-- 
GitLab