Hide widget on desktop (embedded layout)

Add this code to the Custom CSS field on the Design tab of your Button widget’s settings:

For Embed:

@media (min-width: 481px) {
[class*='ButtonContent__Container-sc'] {
display: none;
}
}

For Floating:

@media (min-width: 450px) {
  .global-styles,
  .es-button-floating-button {
    display: none;
  }
}