fix invalid padding/margin in media library