From 17b1d031bb64d4c4ad38ab35a1730cda18ac0664 Mon Sep 17 00:00:00 2001 From: Igor Oliveira Date: Wed, 28 Feb 2018 19:31:50 -0300 Subject: [PATCH] bug 25126: Make about:tor layout responsive Use flexbox and media queries to make the layout responsive. For small and medium break points, remove the tor status image since there isn't enough space. --- src/chrome/content/aboutTor/aboutTor.xhtml | 144 ++++++++++----------- src/chrome/skin/aboutTor.css | 79 ++++++----- 2 files changed, 121 insertions(+), 102 deletions(-) diff --git a/src/chrome/content/aboutTor/aboutTor.xhtml b/src/chrome/content/aboutTor/aboutTor.xhtml index 97e5c970..54aad379 100644 --- a/src/chrome/content/aboutTor/aboutTor.xhtml +++ b/src/chrome/content/aboutTor/aboutTor.xhtml @@ -31,87 +31,85 @@ window.addEventListener("pageshow", function() { -
-
-
-
-

&aboutTor.success.label;

-
-

&aboutTor.success3.label;

-
-
- &aboutTor.check.label; +
+
+
+
+
+

&aboutTor.success.label;

+
+

&aboutTor.success3.label;

+
+ +
+
+

&aboutTor.failure.label;

+
+

&aboutTor.failure2.label;

+
-
-
-

&aboutTor.failure.label;

-
-

&aboutTor.failure2.label;

-
-
-
-
-

&aboutTor.outOfDateTorOn.label;

-

&aboutTor.outOfDateTorOff.label;

-

&aboutTor.outOfDate2.label;

+
+
+

&aboutTor.outOfDateTorOn.label;

+

&aboutTor.outOfDateTorOff.label;

+

&aboutTor.outOfDate2.label;

-
-
-
-
-
-
+
+
+
+
+
+
-