Set box-sizing for media widget