mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-14 12:30:06 +02:00
add new spoiler component
This commit is contained in:
@@ -363,7 +363,11 @@ export const AlbumDetailContent = () => {
|
||||
return (
|
||||
<div className={styles.contentContainer} ref={ref}>
|
||||
<div className={styles.detailContainer}>
|
||||
{comment && <Spoiler maxHeight={75}>{replaceURLWithHTMLLinks(comment)}</Spoiler>}
|
||||
{comment && (
|
||||
<Spoiler hideLabel={true} maxHeight={32} showLabel={true}>
|
||||
{replaceURLWithHTMLLinks(comment)}
|
||||
</Spoiler>
|
||||
)}
|
||||
<div className={styles.contentLayout}>
|
||||
<div className={styles.songsColumn}>
|
||||
{detailQuery?.data?.songs && detailQuery.data.songs.length > 0 && (
|
||||
|
||||
Reference in New Issue
Block a user