Merge branch 'main' into nadro/adhoc/kcl-samples-subdirs

This commit is contained in:
Kevin Nadro
2025-05-20 09:58:44 -05:00
committed by GitHub
2 changed files with 3 additions and 1 deletions

View File

@ -94,7 +94,7 @@ function CommandBarHeader({ children }: React.PropsWithChildren<object>) {
{selectedCommand.displayName || selectedCommand.name}
</span>
{selectedCommand.status === 'experimental' ? (
<span className="text-ml-black text-xs bg-ml-green rounded-full ml-2 px-2 py-1">
<span className="uppercase text-xs rounded-full ml-2 px-2 py-1 border border-ml-green dark:text-ml-green">
experimental
</span>
) : (

View File

@ -111,6 +111,8 @@ const useTextareaAutoGrow = (ref: RefObject<HTMLTextAreaElement>) => {
}
if (ref.current === null) return
// Run initially to set all this stuff at the start
listener()
ref.current.addEventListener('input', listener)
return () => {