Merge pull request #265 from nunocoracao/264-icons-align-to-the-left-in-responsive-mobile-menu

🐛 Icons align to the left in responsive mobile menu
This commit is contained in:
Nuno Coração 2022-11-19 23:34:31 +00:00 committed by GitHub
commit 9987868ee5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View file

@ -109,7 +109,7 @@
<li class="mb-1"> <li class="mb-1">
<a {{ if or (strings.HasPrefix .URL "http:") (strings.HasPrefix .URL "https:") }} target="_blank"{{ end }} class="decoration-primary-500 hover:underline hover:decoration-2 hover:underline-offset-2" <a {{ if or (strings.HasPrefix .URL "http:") (strings.HasPrefix .URL "https:") }} target="_blank"{{ end }} class="decoration-primary-500 hover:underline hover:decoration-2 hover:underline-offset-2"
href="{{ .URL }}" title="{{ .Title }}"> href="{{ .URL }}" title="{{ .Title }}">
{{ partial "icon.html" .Pre }} <span class="inline-block align-text-bottom">{{ partial "icon.html" .Pre }}</span>
{{ if and .Pre .Name }} &nbsp; {{ end }} {{ if and .Pre .Name }} &nbsp; {{ end }}
{{ .Name | markdownify | emojify }} {{ .Name | markdownify | emojify }}
</a> </a>

View file

@ -121,7 +121,7 @@
target="_blank" {{ end }} target="_blank" {{ end }}
class="decoration-primary-500 hover:underline hover:decoration-2 hover:underline-offset-2" class="decoration-primary-500 hover:underline hover:decoration-2 hover:underline-offset-2"
href="{{ .URL }}" title="{{ .Title }}"> href="{{ .URL }}" title="{{ .Title }}">
{{ partial "icon.html" .Pre }} <span class="inline-block align-text-bottom">{{ partial "icon.html" .Pre }}</span>
{{ if and .Pre .Name }} &nbsp; {{ end }} {{ if and .Pre .Name }} &nbsp; {{ end }}
{{ .Name | markdownify | emojify }} {{ .Name | markdownify | emojify }}
</a> </a>

View file

@ -1,6 +1,6 @@
{ {
"name": "hugo-blowfish-theme", "name": "hugo-blowfish-theme",
"version": "2.14.0", "version": "2.14.1",
"description": "Blowfish theme for Hugo", "description": "Blowfish theme for Hugo",
"scripts": { "scripts": {
"fullinstall": "npm run preinstall && npm install && npm run postinstall", "fullinstall": "npm run preinstall && npm install && npm run postinstall",