Child peeking when parent sitting out of sight

The first night of being out of sight can be tough and peeking is not uncommon. But think how far you have come! This is the final hurdle.
If you have a tough first night, remind her the next day that if her head of off the bed, you have to leave the chair and close the door.
That should help encourage her to stay in bed. And if she starts testing you, then you need to follow through and leave until she is back in bed.
You can also tie a morning reward to her keeping her head on the bed once you leave.