Skip to content

Commit

Permalink
fix(WallOfYanami): bg color
Browse files Browse the repository at this point in the history
  • Loading branch information
Delnegend committed Jan 15, 2025
1 parent 8661a41 commit 31ee674
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .vitepress/theme/yanami/layouts/WallOfYanami.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const props = defineProps<{ yanamiFrames: Array<{ src: string; desc: string; bg?
v-for="frame in props.yanamiFrames"
:key="frame.src"
class="mb-3 md:mb-0">
<div class="relative flex aspect-video h-auto w-full" :style="{ backgroundColor: frame.bg ?? 'transparent' }">
<div class="relative flex aspect-video h-auto w-full" :style="{ backgroundColor: frame.bg ? `#${frame.bg}` : 'transparent' }">
<img
:src="frame.src"
class="absolute left-0 top-0 h-auto w-full"
Expand Down

0 comments on commit 31ee674

Please sign in to comment.