Sfoglia il codice sorgente

Another attempt at centering the no songs in queue text

Kristian Vos 4 anni fa
parent
commit
8b3b86f3b1

+ 0 - 4
frontend/src/components/Queue.vue

@@ -274,10 +274,6 @@ export default {
 	background-color: var(--white);
 	border-radius: 0 0 5px 5px;
 
-	.scrollable-list {
-		max-height: calc(100% - 20px);
-	}
-
 	.actionable-button-hidden {
 		max-height: 100%;
 	}

+ 0 - 4
frontend/src/pages/Station/Sidebar/Playlists.vue

@@ -314,10 +314,6 @@ export default {
 	margin-bottom: 20px;
 	border-radius: 0 0 5px 5px;
 	max-height: 100%;
-
-	.scrollable-list {
-		max-height: calc(100% - 60px);
-	}
 }
 
 .night-mode {

+ 7 - 4
frontend/src/pages/Station/Sidebar/index.vue

@@ -90,10 +90,6 @@ export default {
 	border-top: 0;
 }
 
-#queue {
-	padding-bottom: 40px;
-}
-
 #tab-selection {
 	display: flex;
 
@@ -121,6 +117,12 @@ export default {
 	height: 100%;
 }
 
+/deep/ .tab {
+	.nothing-here-text:not(:only-child) {
+		height: calc(100% - 40px);
+	}
+}
+
 /deep/ .tab-actionable-button {
 	width: calc(100% - 20px);
 	height: 40px;
@@ -146,6 +148,7 @@ export default {
 
 /deep/ .scrollable-list {
 	width: 100%;
+	max-height: calc(100% - 40px - 20px);
 	overflow: auto;
 	padding: 10px;