Skip to content

Commit

Permalink
div要素を削除
Browse files Browse the repository at this point in the history
  • Loading branch information
takusea committed Jul 5, 2024
1 parent a1c0748 commit 319397f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/components/Base/BaseDocumentView.vue
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
<template>
<div class="document">
<div>
<slot />
</div>
<slot />
</div>
</template>

Expand Down Expand Up @@ -62,6 +60,8 @@
padding-left: 1.5rem;
}
:deep(> ul),
:deep(> ol),
:deep(:where(div, details) > ul),
:deep(:where(div, details) > ol) {
margin-bottom: 1rem;
Expand All @@ -87,6 +87,7 @@
max-width: 100%;
}
:deep(> img),
:deep(:where(div, details) > img) {
display: block;
margin-bottom: 1rem;
Expand Down

0 comments on commit 319397f

Please sign in to comment.