Skip to content

Commit

Permalink
πŸ’„ Add reset for dialog element (#3068)
Browse files Browse the repository at this point in the history
* πŸ’„ Add reset for dialog element

* πŸ”₯ Remove extra block and just add two properties
  • Loading branch information
chuckcarpenter authored Dec 7, 2024
1 parent 7d71561 commit af4d0c6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions shepherd.js/src/components/shepherd-element.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -152,12 +152,14 @@
<style global>
.shepherd-element {
background: #fff;
border: none;
border-radius: 5px;
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
margin: 0;
max-width: 400px;
opacity: 0;
outline: none;
padding: 0;
transition:
opacity 0.3s,
visibility 0.3s;
Expand Down

0 comments on commit af4d0c6

Please sign in to comment.