I use the official login button example from snapchat kit
After clicking on the login button, the span element with text is deleted.
What should I change in my code to see span text even after clicking on the login button?
My code example is here codesandbox
Advertisement
Answer
I have fixed this with ::before element
.snapchat-login-button button { animation: none; &::before { content: "Button text is here" } } .snapchat-login-button span { padding-left: 0; display: none; }