fix(ChatTitle): add shrink-0 class to icon for layout consistency

- Updated the ChatTitle component to include the `shrink-0` class on the icon for improved layout consistency during state changes.

Signed-off-by: Innei <tukon479@gmail.com>
This commit is contained in:
Innei
2025-10-22 21:35:38 +08:00
parent 750a69e2f6
commit 7c17183bee
@@ -38,7 +38,7 @@ export const AIHeaderTitle = ({
{displayTitle}
</span>
</h1>
<i className="i-mingcute-down-line size-4 text-text-secondary transition-all duration-200 group-hover/button:text-text group-data-[state=open]:rotate-180 group-data-[state=open]:text-text" />
<i className="i-mingcute-down-line size-4 shrink-0 text-text-secondary transition-all duration-200 group-hover/button:text-text group-data-[state=open]:rotate-180 group-data-[state=open]:text-text" />
</button>
</div>
)