Skip to content

Commit

Permalink
Removing unit from img's height attribute for label.icon
Browse files Browse the repository at this point in the history
  • Loading branch information
adityatelange committed Mar 25, 2022
1 parent 23c17b6 commit f2ad0d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/partials/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
<a href="{{ "" | absLangURL }}" accesskey="h" title="{{ $label_text }} (Alt + H)">
{{- if .Site.Params.label.icon }}
<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 -}}
{{- $label_text -}}
</a>
Expand Down

0 comments on commit f2ad0d9

Please sign in to comment.