fix: Optimize rendering a little

This commit is contained in:
Jesse Wierzbinski 2024-04-29 11:21:50 -10:00
parent 55ca97e936
commit ccd2307584
No known key found for this signature in database
3 changed files with 5 additions and 5 deletions

View file

@ -1,5 +1,5 @@
<template>
<div class="flex flex-col p-10 gap-4">
<div class="flex flex-col p-10 gap-4 h-full">
<div
class="aspect-video shrink-0 w-full rounded ring-white/5 bg-dark-800 shadow overflow-hidden ring-1 hover:ring-2 duration-100">
<img class="object-cover w-full h-full duration-150 hover:scale-[102%] ease-in-out" v-if="instance?.banner"
@ -7,7 +7,7 @@
</div>
<div class="prose prose-invert prose-sm">
<h2 class="text-center mb-10">{{ instance?.title }}</h2>
<h1 class="text-center mb-10 mt-5">{{ instance?.title }}</h1>
<div v-html="description?.content"></div>
</div>