Add inline-block display type for main div