mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Use a figure element instead of an img, as there is no src attribute.
This commit is contained in:
parent
6f4a7f4779
commit
4f49a25639
2 changed files with 7 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -23,3 +23,8 @@ footer.site-footer {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
.icon-lang {
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
}
|
Loading…
Reference in a new issue