Adaptive Height

Here the slider will adjust its height based on its content.