Tweaked grid size

This commit is contained in:
Corey 2020-08-01 13:27:32 +08:00
parent 89474aa2fa
commit bc39c2e8de

View file

@ -259,7 +259,7 @@
item.icon_path + item.icon_path +
`.svg`" `.svg`"
x-bind:download="downloadType === 'download-svg' && item.icon_name" x-bind:download="downloadType === 'download-svg' && item.icon_name"
class="flex flex-col relative items-center group justify-center text-gray-700 rounded shadow hover:shadow-xl bg-white cursor-pointer transition duration-150 ease-in-out h-48" class="flex flex-col relative items-center group justify-center text-gray-700 rounded shadow hover:shadow-xl bg-white cursor-pointer transition duration-150 ease-in-out h-32 md:h-48"
@click="handleClick(item, downloadType, $event), $dispatch('show:toast'), setTimeout(() => $dispatch('show:toast'), 2000)" @click="handleClick(item, downloadType, $event), $dispatch('show:toast'), setTimeout(() => $dispatch('show:toast'), 2000)"
> >
<img <img
@ -269,7 +269,7 @@
loading="lazy" loading="lazy"
/> />
<p <p
class="text-xs leading-none text-center mt-8" class="text-xs leading-none text-center mt-4 md:mt-8"
x-text="item.icon_name" x-text="item.icon_name"
></p> ></p>
<span class="hidden" x-text="item.icon_keywords"></span> <span class="hidden" x-text="item.icon_keywords"></span>