Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion client/app/components/HydrationIssue.vue
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@
<n-card
p-4
relative
w-full
overflow-auto
>
<div class="flex items-start justify-between gap-3">
<div class="min-w-0">
Expand Down Expand Up @@ -138,8 +140,8 @@
</div>

<div
class="w-full mt-3 overflow-auto rounded-lg"
class="w-full mt-3 overflow-auto rounded-lg w-fit"
v-html="diffHtml"

Check warning on line 144 in client/app/components/HydrationIssue.vue

View workflow job for this annotation

GitHub Actions / ci

'v-html' directive can lead to XSS attack
/>
</n-card>
</template>
Expand All @@ -154,4 +156,8 @@
background-color: rgba(220, 38, 38, 0.15); // red-600 at 15% opacity
}
}

:deep(.shiki) {
width: fit-content;
}
</style>
Loading