Skip to content

Commit

Permalink
fix: slotted display
Browse files Browse the repository at this point in the history
  • Loading branch information
megheaiulian committed Dec 17, 2021
1 parent 37170e7 commit 126e231
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/cosmoz-dropdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ const preventDefault = e => e.preventDefault(),
background: var(--cosmoz-dropdown-bg-color, #fff);
box-shadow: var(--cosmoz-dropdown-box-shadow, 0px 3px 4px 2px rgba(0, 0, 0, 0.1));
}
::slotted(*) {
display: block;
}
</style>
<slot></slot>`;
},
Expand Down

0 comments on commit 126e231

Please # to comment.