Glass containers with lids are much safer for storing leftovers. Plastic can include harmful and toxic chemicals that might transfer to the food you consume.
Store corresponding lids vertically between stacks or look to other options such as a plate rack, slim internal drawer, or a ...