fix: adjust maxHeight calculation in Playlist component for improved layout
This commit is contained in:
@@ -19,7 +19,7 @@ export function Playlist({
|
|||||||
onTrackSelect,
|
onTrackSelect,
|
||||||
variant = 'normal'
|
variant = 'normal'
|
||||||
}: PlaylistProps) {
|
}: PlaylistProps) {
|
||||||
const maxHeight = variant === 'maximized' ? 'h-[calc(100vh-200px)]' : 'h-60'
|
const maxHeight = variant === 'maximized' ? 'h-[calc(100vh-230px)]' : 'h-60'
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="w-full">
|
<div className="w-full">
|
||||||
|
|||||||
Reference in New Issue
Block a user