mirror of
https://github.com/overleaf/overleaf.git
synced 2025-02-20 04:53:58 +00: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",
|
aria-expanded="false",
|
||||||
tooltip="#{translate('language')}"
|
tooltip="#{translate('language')}"
|
||||||
)
|
)
|
||||||
img(class="icon icon-#{currentLngCode}")
|
figure(class="icon icon-lang icon-#{currentLngCode}")
|
||||||
|
|
||||||
ul.dropdown-menu(role="menu")
|
ul.dropdown-menu(role="menu")
|
||||||
li.dropdown-header #{translate("language")}
|
li.dropdown-header #{translate("language")}
|
||||||
|
@ -23,7 +23,7 @@ footer.site-footer
|
||||||
if !subdomainDetails.hide
|
if !subdomainDetails.hide
|
||||||
li.lngOption
|
li.lngOption
|
||||||
a.menu-indent(href=subdomainDetails.url+currentUrl)
|
a.menu-indent(href=subdomainDetails.url+currentUrl)
|
||||||
img(class="icon icon-#{subdomainDetails.lngCode}")
|
figure(class="icon icon-lang icon-#{subdomainDetails.lngCode}")
|
||||||
| #{translate(subdomainDetails.lngCode)}
|
| #{translate(subdomainDetails.lngCode)}
|
||||||
//- img(src="/img/flags/24/.png")
|
//- img(src="/img/flags/24/.png")
|
||||||
each item in nav.left_footer
|
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