🎧 Your Personal Streaming Service
Go airsonicmadsonicmedia-servermusicmusic-servernavidromeopensubsonicraspberry-piself-hostedstreamerstreaming-apistreaming-audiosubsonicsubsonic-server
fix(ui): playlist details overflow in spotify-based themes (#4184)
Deluan Quintão7d1f5ddf0690
diff --git a/ui/src/themes/nord.js b/ui/src/themes/nord.jsindex 8c346eefe..5420bbc60 100644--- a/ui/src/themes/nord.js+++ b/ui/src/themes/nord.js@@ -259,7 +259,6 @@ export default {},details: {fontSize: '.875rem',- minWidth: '75vw',color: 'rgba(255,255,255, 0.8)',},},diff --git a/ui/src/themes/spotify.js b/ui/src/themes/spotify.jsindex 703d8159e..980183759 100644--- a/ui/src/themes/spotify.js+++ b/ui/src/themes/spotify.js@@ -204,7 +204,6 @@ export default {},details: {fontSize: '.875rem',- minWidth: '75vw',color: 'rgba(255,255,255, 0.8)',},},diff --git a/ui/src/themes/theme.test.js b/ui/src/themes/theme.test.jsnew file mode 100644index 000000000..b65c3a5fe--- /dev/null+++ b/ui/src/themes/theme.test.js@@ -0,0 +1,14 @@+import themes from './index'+import { describe, it, expect } from 'vitest'++describe('NDPlaylistDetails styles', () => {+ const themeEntries = Object.entries(themes)++ it.each(themeEntries)(+ '%s should not set minWidth on details',+ (themeName, theme) => {+ const details = theme.overrides?.NDPlaylistDetails?.details+ expect(details?.minWidth).toBeUndefined()+ },+ )+})