mirror of
https://github.com/nunocoracao/blowfish.git
synced 2026-01-30 15:31:52 +00:00
🐛 Icons align to the left in responsive mobile menu
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user