Browse Source

Manage Station queue current song thumbnail fix

Owen Diffey 3 years ago
parent
commit
f38995cc16
2 changed files with 11 additions and 2 deletions
  1. 1 1
      frontend/bootstrap.sh
  2. 10 1
      frontend/src/components/modals/ManageStation/index.vue

+ 1 - 1
frontend/bootstrap.sh

@@ -1,8 +1,8 @@
 #!/bin/bash
 
 if [ "$FRONTEND_MODE" == "prod" ] ; then
-	cd /opt/app ; npm run $FRONTEND_MODE
 	nginx -c /opt/app/$FRONTEND_MODE.nginx.conf -g "daemon off;"
+	cd /opt/app ; npm run $FRONTEND_MODE
 elif [ "$FRONTEND_MODE" == "dev" ] ; then
 	nginx -c /opt/app/$FRONTEND_MODE.nginx.conf
 	cd /opt/app; npm run $FRONTEND_MODE

+ 10 - 1
frontend/src/components/modals/ManageStation/index.vue

@@ -134,7 +134,6 @@
 						<song-item
 							v-if="currentSong._id"
 							:song="currentSong"
-							:large-thumbnail="true"
 							:requested-by="
 								station.type === 'community' &&
 									station.partyMode === true
@@ -550,6 +549,16 @@ export default {
 			width: 100%;
 			margin-bottom: 10px;
 		}
+		.currently-playing.song-item {
+			.song-info {
+				width: calc(100% - 150px);
+			}
+			.thumbnail {
+				min-width: 130px;
+				width: 130px;
+				height: 130px;
+			}
+		}
 	}
 }
 </style>