diff --git a/web/index.html b/web/index.html index 8ae625d..bf7535c 100644 --- a/web/index.html +++ b/web/index.html @@ -3,6 +3,10 @@ + + TSMusicBot diff --git a/web/src/components/Player.vue b/web/src/components/Player.vue index 7f4b836..e5669c7 100644 --- a/web/src/components/Player.vue +++ b/web/src/components/Player.vue @@ -27,10 +27,10 @@
-
{{ currentSong.name }}
+
{{ currentSong.name }}
{{ activeBot?.name }} - {{ currentSong.artist }} + {{ currentSong.artist }}
@@ -310,6 +310,8 @@ function cycleMode() { .song-info { min-width: 0; + flex: 1; + overflow: hidden; } .song-name { @@ -326,6 +328,16 @@ function cycleMode() { display: flex; align-items: center; gap: 4px; + min-width: 0; + overflow: hidden; +} + +.artist-name { + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + min-width: 0; + flex: 1; } .bot-badge { diff --git a/web/src/views/Home.vue b/web/src/views/Home.vue index c7d64ed..bb32d84 100644 --- a/web/src/views/Home.vue +++ b/web/src/views/Home.vue @@ -379,6 +379,7 @@ onMounted(() => { .daily-card { cursor: pointer; + min-width: 0; } .daily-name {