border around legend for embed mode