fixed layout problem on component show page