redesign smart playlist, add multisort

This commit is contained in:
jeffvli
2025-11-29 06:12:33 -08:00
parent 974e96c7b4
commit bb1705a774
8 changed files with 547 additions and 295 deletions
@@ -1,7 +1,13 @@
import styles from './json-preview.module.css';
interface JsonPreviewProps {
value: Record<string, any> | string;
}
export const JsonPreview = ({ value }: JsonPreviewProps) => {
return <pre style={{ userSelect: 'all' }}>{JSON.stringify(value, null, 2)}</pre>;
return (
<pre className={styles.preview} style={{ userSelect: 'all' }}>
{JSON.stringify(value, null, 4)}
</pre>
);
};