style: playground style

This commit is contained in:
jialin
2024-09-22 14:55:23 +08:00
parent c04b9342b8
commit b041cdc766
26 changed files with 373 additions and 312 deletions
+3 -4
View File
@@ -109,9 +109,7 @@ const Playground: React.FC = () => {
useHotkeys(
HotKeys.RIGHT.join(','),
() => {
setCollapse((pre) => {
return !pre;
});
groundLeftRef.current?.setCollapse?.();
},
{
preventDefault: true
@@ -136,7 +134,8 @@ const Playground: React.FC = () => {
}}
extra={renderExtra()}
className={classNames('playground-container', {
compare: activeKey === 'compare'
compare: activeKey === 'compare',
chat: activeKey === 'chat'
})}
>
<div className="play-ground">