Skip to content

Commit

Permalink
fix(NeExpandable): minor style fix (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
andre8244 authored Feb 23, 2024
1 parent 7e82484 commit 18ca7a1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/components/NeExpandable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ function toggleExpanded() {
</slot>
</div>
<Transition name="slide-down">
<div v-show="internalIsExpanded" class="space-y-6">
<div v-show="internalIsExpanded" class="mt-4">
<slot></slot>
</div>
</Transition>
Expand Down
6 changes: 3 additions & 3 deletions stories/NeExpandable.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export default meta
type Story = StoryObj<typeof meta>

const defaultTemplate = `<NeExpandable v-bind="args">
<div class="pt-4 pl-2 text-gray-700 dark:text-gray-300">
<div class="text-gray-700 dark:text-gray-300">
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
</div>
</NeExpandable>`
Expand Down Expand Up @@ -51,7 +51,7 @@ const customTriggerTemplate = `<NeExpandable v-bind="args">
Click here to show more
</span>
</template>
<div class="pt-4 pl-2 text-gray-700 dark:text-gray-300">
<div class="text-gray-700 dark:text-gray-300">
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
</div>
</NeExpandable>`
Expand All @@ -73,7 +73,7 @@ const customTriggerFullWidthTemplate = `<NeExpandable v-bind="args">
Click here to show more
</div>
</template>
<div class="pt-4 pl-2 text-gray-700 dark:text-gray-300">
<div class="text-gray-700 dark:text-gray-300">
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
</div>
</NeExpandable>`
Expand Down

0 comments on commit 18ca7a1

Please sign in to comment.