From 02ec2bc264db47dd57a1badcb4f5e27efae34f75 Mon Sep 17 00:00:00 2001 From: James Allen Date: Thu, 14 Aug 2014 16:41:48 +0100 Subject: [PATCH] Align flags on left of menu to match flag in footer --- services/web/app/views/layout/footer.jade | 3 ++- services/web/public/stylesheets/components/footer.less | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/services/web/app/views/layout/footer.jade b/services/web/app/views/layout/footer.jade index ebd4a69b72..17907f9e3e 100644 --- a/services/web/app/views/layout/footer.jade +++ b/services/web/app/views/layout/footer.jade @@ -20,8 +20,9 @@ footer.site-footer li.dropdown-header #{translate("language")} each subdomainDetails, subdomain in settings.i18n.subdomainLang li.lngOption - a.menu-indent(href=subdomainDetails.url+currentUrl) #{translate(subdomainDetails.lngCode)} + a.menu-indent(href=subdomainDetails.url+currentUrl) img(src="/img/flags/24/#{subdomainDetails.lngCode}.png") + | #{translate(subdomainDetails.lngCode)} each item in nav.left_footer li diff --git a/services/web/public/stylesheets/components/footer.less b/services/web/public/stylesheets/components/footer.less index 10d3a3f19c..7a3bc66723 100644 --- a/services/web/public/stylesheets/components/footer.less +++ b/services/web/public/stylesheets/components/footer.less @@ -19,7 +19,7 @@ footer.site-footer { display: list-item; img { - float: right; + vertical-align: text-bottom; } } }