mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 17:19:37 +02:00
Use a figure element instead of an img, as there is no src attribute.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user