Spotify embeds pixelated around corners showing white on black background

I am wondering if this can get fixed the white pixels around the corners? Is this just a padding issue or something to do with how the embed works?

Looks fine on https://try.discourse.org/ ? Try safe-mode?

1 Like

still has a tiny bit of pixelation on the corners in safe mode

Definitely less noticeable so I am guessing something im doing with the CSS

iframe[src*="open.spotify.com/embed/track"] {
  max-width: 690px !important;
  width: 100% !important;
  margin: 0 0 20px 0 !important;
  display: block !important;
  box-sizing: border-box !important;
}

This works to make it similar to safe-mode:

iframe[src*="open.spotify.com/embed/track"] {
  max-width: 690px !important;
  width: 100% !important;
  margin: 0 0 20px 0 !important;
  display: block !important;
  box-sizing: border-box !important;
  border-radius: 12px !important;          /* smooth corners */
  overflow: hidden !important;             /* clip pixelation */
  border: none !important;
  background: transparent !important;
}
1 Like