Update SpotifyControls.plugin.js

This commit is contained in:
Mirco Wittrien 2021-08-24 15:00:34 +02:00
parent c1318a1dde
commit a4fa70adc3
1 changed files with 9 additions and 4 deletions

View File

@ -2,7 +2,7 @@
* @name SpotifyControls * @name SpotifyControls
* @author DevilBro * @author DevilBro
* @authorId 278543574059057154 * @authorId 278543574059057154
* @version 1.2.1 * @version 1.2.2
* @description Adds a Control Panel while listening to Spotify on a connected Account * @description Adds a Control Panel while listening to Spotify on a connected Account
* @invite Jx3TjNS * @invite Jx3TjNS
* @donate https://www.paypal.me/MircoWittrien * @donate https://www.paypal.me/MircoWittrien
@ -17,12 +17,12 @@ module.exports = (_ => {
"info": { "info": {
"name": "SpotifyControls", "name": "SpotifyControls",
"author": "DevilBro", "author": "DevilBro",
"version": "1.2.1", "version": "1.2.2",
"description": "Adds a Control Panel while listening to Spotify on a connected Account" "description": "Adds a Control Panel while listening to Spotify on a connected Account"
}, },
"changeLog": { "changeLog": {
"fixed": { "improved": {
"Show Activity": "Show Activity Button has correct state on start up" "Ordder": "Spotify Controls Panel will always be the first panel above account details/voice connection state/listen alongs"
} }
} }
}; };
@ -488,6 +488,10 @@ module.exports = (_ => {
:root { :root {
--SC-spotify-green: ${BDFDB.DiscordConstants.Colors.SPOTIFY}; --SC-spotify-green: ${BDFDB.DiscordConstants.Colors.SPOTIFY};
} }
${BDFDB.dotCN.channelpanels} {
display: flex;
flex-direction: column;
}
${BDFDB.dotCN._spotifycontrolscontainer} { ${BDFDB.dotCN._spotifycontrolscontainer} {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
@ -497,6 +501,7 @@ module.exports = (_ => {
border-bottom: 1px solid var(--background-modifier-accent); border-bottom: 1px solid var(--background-modifier-accent);
padding: 0 8px; padding: 0 8px;
box-sizing: border-box; box-sizing: border-box;
order: -1;
} }
${BDFDB.dotCN._spotifycontrolscontainer + BDFDB.dotCN._spotifycontrolscontainerwithtimeline} { ${BDFDB.dotCN._spotifycontrolscontainer + BDFDB.dotCN._spotifycontrolscontainerwithtimeline} {
padding-top: 8px; padding-top: 8px;