mirror of
https://github.com/andatoshiki/toshiki-home-nuxt3.git
synced 2026-06-06 00:46:29 +00:00
style(center): add tailwind calssifier presets to justify figure div to horizontally center and force figure property to div
This commit is contained in:
parent
0763b6b4ec
commit
bc4d96b3c2
@ -45,12 +45,12 @@ export default Vue.extend({
|
||||
loading="lazy"
|
||||
draggable="false"
|
||||
fit="cover"
|
||||
class="object-cover w-full rounded-md"
|
||||
class="object-cover w-full rounded-md flex justify-center mx-auto"
|
||||
:class="[imageClass, border && 'border border-black/10 dark:border-white/10']"
|
||||
:data-zoomable="zoomable"
|
||||
/>
|
||||
|
||||
<figcaption v-if="caption" class="text-center">
|
||||
<figcaption v-if="caption" class="text-center justify-center mx-auto">
|
||||
{{ caption }}
|
||||
</figcaption>
|
||||
</figure>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user