chore: Optimize component styles and interactions (#23250) (#23543)

This commit is contained in:
HyaCinth
2025-08-07 14:19:38 +08:00
committed by GitHub
parent ad1b1193fa
commit 2931c891a7
3 changed files with 5 additions and 5 deletions

View File

@ -90,7 +90,7 @@ const DebugAndPreview = () => {
<div
ref={containerRef}
className={cn(
'relative flex h-full flex-col rounded-l-2xl border border-r-0 border-components-panel-border bg-chatbot-bg shadow-xl',
'relative flex h-full flex-col rounded-l-2xl border border-r-0 border-components-panel-border bg-components-panel-bg shadow-xl',
)}
style={{ width: `${panelWidth}px` }}
>

View File

@ -19,7 +19,7 @@ const ShortcutsName = ({
keys.map(key => (
<div
key={key}
className='system-kbd flex h-4 w-4 items-center justify-center rounded-[4px] bg-components-kbd-bg-gray capitalize'
className='system-kbd flex h-4 min-w-4 items-center justify-center rounded-[4px] bg-components-kbd-bg-gray capitalize'
>
{getKeyboardKeyNameBySystem(key)}
</div>