diff options
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/spotifyControls/PlayerComponent.tsx | 8 | ||||
-rw-r--r-- | src/plugins/spotifyControls/spotifyStyles.css | 5 |
2 files changed, 9 insertions, 4 deletions
diff --git a/src/plugins/spotifyControls/PlayerComponent.tsx b/src/plugins/spotifyControls/PlayerComponent.tsx index 3276be1..3de1687 100644 --- a/src/plugins/spotifyControls/PlayerComponent.tsx +++ b/src/plugins/spotifyControls/PlayerComponent.tsx @@ -372,10 +372,10 @@ export function Player() { return ( <ErrorBoundary fallback={() => ( - <> - <Forms.FormText>Failed to render Spotify Modal :(</Forms.FormText> - <Forms.FormText>Check the console for errors</Forms.FormText> - </> + <div className="vc-spotify-fallback"> + <p>Failed to render Spotify Modal :(</p> + <p >Check the console for errors</p> + </div> )}> <div id={cl("player")}> <Info track={track} /> diff --git a/src/plugins/spotifyControls/spotifyStyles.css b/src/plugins/spotifyControls/spotifyStyles.css index 18fb175..88e1d0a 100644 --- a/src/plugins/spotifyControls/spotifyStyles.css +++ b/src/plugins/spotifyControls/spotifyStyles.css @@ -191,3 +191,8 @@ .vc-spotify-time-right { right: 0; } + +.vc-spotify-fallback { + padding: 0.5em; + color: var(--text-normal); +} |