Skip to content

Commit

Permalink
fix: list style error
Browse files Browse the repository at this point in the history
  • Loading branch information
nexmoe committed May 2, 2024
1 parent ab15ad4 commit 4dfb2e5
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions components/module/List.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@ const text = extractTextFromHTML(props.module.content)
</script>

<template>
<div
class="module shu-card space-x-4 py-4 px-5"
>
<div class="module shu-card space-x-4 py-4 px-5">
<div class="max-w-full flex space-x-4 items-center">
<NuxtImg
v-if="props.module.image"
Expand All @@ -33,15 +31,15 @@ const text = extractTextFromHTML(props.module.content)
/>

<h3
v-if="flow?.configNoTitle"
v-if="!flow?.configNoTitle"
class="text-base font-bold tracking-tight text-black truncate"
>
{{ props.module.title }}
</h3>
</div>

<div
v-if="flow?.configNoContent"
v-if="!flow?.configNoContent"
class="truncate"
>
<div v-html="text" />
Expand All @@ -56,6 +54,7 @@ const text = extractTextFromHTML(props.module.content)
max-width: calc(100% + 48px);
width: calc(100% + 48px);
}
.card :deep(iframe) {
max-width: 100%;
}
Expand Down

0 comments on commit 4dfb2e5

Please sign in to comment.