I had the same problem with basil on my glased in balcony in summertime, just got to hot and the whole plant turned yellow.
Try to take away the yellowed leafs so the plant don’t spend energy on them.
2 Likes