Styles added to fix the issue that a caption button with long text will go beyond the screen