commit 910615bdb9fd1b30e4fda5980a02784ce57ab5d5 parent 4cf744198c2bbd6e00cefd5789941d62f8a2a04f Author: Jack Mordaunt <jackmordaunt.dev@gmail.com> Date: Wed, 16 Jul 2025 13:00:41 -0300 partials/social.html: define inline-block locally Diffstat:
| M | themes/hugo-coder/layouts/partials/home/social.html | | | 5 | ++--- |
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/themes/hugo-coder/layouts/partials/home/social.html b/themes/hugo-coder/layouts/partials/home/social.html @@ -7,11 +7,10 @@ {{ if .src -}} <img src="{{ .src }}" class="custom-icon "/> {{ else if .svg -}} - <div class="custom-icon">{{ readFile .svg | safeHTML }}</div> + <div class="custom-icon" style="display: inline-block;">{{ readFile .svg | safeHTML }}</div> {{- else -}} - <i class="{{ .icon }}" aria-hidden="true"> + <i class="{{ .icon }}" aria-hidden="true"></i> {{- end }} - </i> </a> </li> {{ else }}