mirror of
https://github.com/nunocoracao/blowfish.git
synced 2025-01-22 22:45:42 -06:00
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:
commit
9987868ee5
3 changed files with 3 additions and 3 deletions
|
@ -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 }} {{ end }}
|
{{ if and .Pre .Name }} {{ end }}
|
||||||
{{ .Name | markdownify | emojify }}
|
{{ .Name | markdownify | emojify }}
|
||||||
</a>
|
</a>
|
||||||
|
|
|
@ -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 }} {{ end }}
|
{{ if and .Pre .Name }} {{ end }}
|
||||||
{{ .Name | markdownify | emojify }}
|
{{ .Name | markdownify | emojify }}
|
||||||
</a>
|
</a>
|
||||||
|
|
|
@ -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",
|
||||||
|
|
Loading…
Reference in a new issue