From 0ad71cdd5715515393db9cb0682964f2468cca56 Mon Sep 17 00:00:00 2001 From: Malena Andrade Date: Mon, 26 Oct 2015 15:45:34 -0400 Subject: [PATCH] Bug 1210864 - Add Private Browsing to Firefox Family subnav --- bedrock/base/templates/macros.html | 14 +++++++++++++- media/css/firefox/family-nav.less | 11 ++++++++--- 2 files changed, 21 insertions(+), 4 deletions(-) diff --git a/bedrock/base/templates/macros.html b/bedrock/base/templates/macros.html index 37f4cd6703..f758ed580c 100644 --- a/bedrock/base/templates/macros.html +++ b/bedrock/base/templates/macros.html @@ -469,9 +469,11 @@
{{ _('for Desktop') }}
@@ -490,6 +496,9 @@ {% if waffle.switch('firefox-ios-global') %} @@ -499,6 +508,9 @@ {% endif %} diff --git a/media/css/firefox/family-nav.less b/media/css/firefox/family-nav.less index 772503ebc5..386ff83275 100644 --- a/media/css/firefox/family-nav.less +++ b/media/css/firefox/family-nav.less @@ -281,7 +281,7 @@ opacity: 0.8; height: 77px; line-height: 77px; - max-width: 125px; // uhhh, seems to work? + max-width: 129px; &.selected, &:hover { @@ -425,8 +425,13 @@ } // en-* langs only get uppercase subsubnav links -html[lang^='en'] .fxfamilynav .subsubnav a { - text-transform: uppercase; +html[lang^='en'] .fxfamilynav { + .subnav > li > a { + max-width: 149px; + } + .subsubnav a { + text-transform: uppercase; + } } .fxfamilynav-subnav {