0

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

kornel
  • 49
  • 6
Oleg
  • 1
  • 2

1 Answers1

0

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;
}
Oleg
  • 1
  • 2