Skip to content

Commit

Permalink
refactor: update modal styles
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaHungDinh committed Jul 3, 2024
1 parent 2ff1fb9 commit 8397c93
Showing 1 changed file with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
}

&-modal {
position: absolute;
position: fixed;
top: 0;
left: 0;
bottom: 0;
Expand All @@ -17,9 +17,9 @@
justify-content: center;
background: transparent;
backdrop-filter: blur(2px);
z-index: 999;

&-content {
max-width: 48rem;
background: var(--givep-shades-white, #fff);
padding: 2.5rem 3.5rem;
width: calc(min(100%, 51.5rem) + 2rem);
Expand All @@ -41,8 +41,7 @@
display: flex;
gap: 1rem;

> button {
margin: 0;
button:first-child {
background: transparent;
color: var(--givewp-primary-color);
border: 1px solid var(--givewp-primary-color);
Expand All @@ -66,4 +65,3 @@
}
}
}

0 comments on commit 8397c93

Please sign in to comment.