mirror of
https://github.com/Wonderfall/hugo-WonderMod.git
synced 2024-11-25 12:01:37 +01:00
Removing unit from img
's height attribute for label.icon
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img#attr-height
This commit is contained in:
parent
375155061d
commit
496b846597
@ -47,7 +47,7 @@
|
|||||||
<a href="{{ "" | absLangURL }}" accesskey="h" title="{{ $label_text }} (Alt + H)">
|
<a href="{{ "" | absLangURL }}" accesskey="h" title="{{ $label_text }} (Alt + H)">
|
||||||
{{- if .Site.Params.label.icon }}
|
{{- if .Site.Params.label.icon }}
|
||||||
<img src="{{- .Site.Params.label.icon | absURL -}}" alt="logo" aria-label="logo"
|
<img src="{{- .Site.Params.label.icon | absURL -}}" alt="logo" aria-label="logo"
|
||||||
height="{{- .Site.Params.label.iconHeight | default " 30px" -}}">
|
height="{{- .Site.Params.label.iconHeight | default "30" -}}">
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- $label_text -}}
|
{{- $label_text -}}
|
||||||
</a>
|
</a>
|
||||||
|
Loading…
Reference in New Issue
Block a user