Skip to content

Commit

Permalink
fix: MP icon preload (#678)
Browse files Browse the repository at this point in the history
* fix: MP icon preload

* Tidyup
  • Loading branch information
AndyEPhipps authored Oct 30, 2024
1 parent 0af0169 commit dd43bf3
Showing 1 changed file with 12 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,18 @@ const OuterWrapper = styled.div`
flex-direction: column;
// Preload 'selected' icons
background-image:
url(${EmailIconWhite}),
url(${PhoneIconWhite}),
url(${PostIconWhite}),
url(${SMSIconWhite}),
none;
&:after {
position:absolute;
width: 0;
height: 0;
overflow: hidden;
z-index: -1;
content:
url(${EmailIconWhite})
url(${PhoneIconWhite})
url(${PostIconWhite})
url(${SMSIconWhite});
}
`;

const TopCopyWrapper = styled.div`
Expand Down

0 comments on commit dd43bf3

Please sign in to comment.