Skip to content

Commit

Permalink
🔥 Remove extra block and just add two properties
Browse files Browse the repository at this point in the history
  • Loading branch information
chuckcarpenter committed Dec 6, 2024
1 parent 70f26a3 commit 3285e64
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions shepherd.js/src/components/shepherd-element.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -150,26 +150,16 @@
</dialog>

<style global>
/* <dialog> reset needed for positioning */
dialog.shepherd-element {
padding: 0;
border: none;
margin: 0;
background: none;
position: static;
width: auto;
height: auto;
color: inherit;
font: inherit;
}
.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 3285e64

Please sign in to comment.