They'll be fine. I've seen plenty of seedlings like this over the years and they have always pulled through with a bit of love and care. Just do what Jaydee says above, get the light a lot closer and make sure you support the stem with something (small stick and some cotton thread). Giving them a light breeze from a fan will help strengthen up the stems.