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:
@@ -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>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user