Skip to content

Commit

Permalink
chore(dynamic-component): use stone-300 as bg color
Browse files Browse the repository at this point in the history
  • Loading branch information
stfsy committed Jun 5, 2022
1 parent 895c0b3 commit 91c9749
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/components/docs/dynamic-component-display.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<template>
<div :id="id" class="component-preview shadow-inner rounded-lg my-4 py-4 flex justify-center items-center w-full">
<div :id="id"
class="component-preview bg-stone-300 shadow-inner rounded-lg my-4 py-4 flex justify-center items-center w-full">
<Component :is="type" v-bind="componentProps">
<template v-for="(index, name) in $slots" v-slot:[name]>
<slot :name="name" />
Expand Down
2 changes: 0 additions & 2 deletions styles/preview.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@
}

.component-preview {
background: #dcdcdc;

* {
position: relative !important;
}
Expand Down

0 comments on commit 91c9749

Please sign in to comment.