Skip to content

Commit 95b7ff2

Browse files
committed
fix: blog OG avatar stacking, remove htmlValidator regexes, add ogImage security
- Fix blog post avatar stacking (vertical → horizontal) by adding flex-row to container - Remove htmlValidator.ignore regexes that broke structuredClone in @nuxt/test-utils - Remove long-title rule override (not needed without ignore pattern) - Add ogImage.security.maxQueryParamSize - Update blog post snapshot
1 parent a09e45c commit 95b7ff2

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

app/components/OgImage/BlogPost.takumi.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ const formattedAuthorNames = computed(() => {
7878
<!-- Authors -->
7979
<div v-if="authors.length" class="flex items-center gap-4 flex-nowrap">
8080
<!-- Stacked avatars -->
81-
<span>
81+
<span class="flex flex-row items-center">
8282
<span
8383
v-for="(author, index) in visibleAuthors"
8484
:key="author.name"

nuxt.config.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -278,14 +278,16 @@ export default defineNuxtConfig({
278278
htmlValidator: {
279279
enabled: !isCI || (provider !== 'vercel' && !!process.env.VALIDATE_HTML),
280280
options: {
281-
rules: { 'meta-refresh': 'off', 'long-title': 'off' },
281+
rules: { 'meta-refresh': 'off' },
282282
},
283-
ignore: [/\.(xml|rss|json)$/, /^\/_og\//],
284283
failOnError: true,
285284
},
286285

287286
ogImage: {
288287
enabled: !isStorybook,
288+
security: {
289+
maxQueryParamSize: 2048,
290+
},
289291
},
290292

291293
pwa: {
-71.4 KB
Loading

0 commit comments

Comments
 (0)