Use a figure element instead of an img, as there is no src attribute.

This commit is contained in:
Paulo Reis 2016-07-01 16:02:01 +01:00
parent 6f4a7f4779
commit 4f49a25639
2 changed files with 7 additions and 2 deletions

View file

@ -15,7 +15,7 @@ footer.site-footer
aria-expanded="false",
tooltip="#{translate('language')}"
)
img(class="icon icon-#{currentLngCode}")
figure(class="icon icon-lang icon-#{currentLngCode}")
ul.dropdown-menu(role="menu")
li.dropdown-header #{translate("language")}
@ -23,7 +23,7 @@ footer.site-footer
if !subdomainDetails.hide
li.lngOption
a.menu-indent(href=subdomainDetails.url+currentUrl)
img(class="icon icon-#{subdomainDetails.lngCode}")
figure(class="icon icon-lang icon-#{subdomainDetails.lngCode}")
| #{translate(subdomainDetails.lngCode)}
//- img(src="/img/flags/24/.png")
each item in nav.left_footer

View file

@ -23,3 +23,8 @@ footer.site-footer {
}
}
}
.icon-lang {
display: inline-block;
vertical-align: middle;
}