Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Commit

Permalink
Add visibility rule
Browse files Browse the repository at this point in the history
  • Loading branch information
mikejolley authored and tarhi-saad committed Oct 10, 2023
1 parent 88c7c6a commit 7604a09
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions assets/js/blocks/checkout/address-wrapper/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

.wc-block-components-address-card-wrapper,
.wc-block-components-address-form-wrapper {
transition: opacity 300ms ease-in-out, height 300ms ease-in-out;
transition: all 300ms ease-in-out;
width: 100%;
}

Expand All @@ -13,6 +13,7 @@
}
.wc-block-components-address-card-wrapper {
opacity: 0;
visibility: hidden;
position: absolute;
top: 0;
}
Expand All @@ -21,8 +22,8 @@
&:not(.is-editing) {
.wc-block-components-address-form-wrapper {
opacity: 0;
visibility: hidden;
height: 0;
pointer-events: none;
}
.wc-block-components-address-card-wrapper {
opacity: 1;
Expand Down

0 comments on commit 7604a09

Please sign in to comment.