Skip to content
Discussion options

You must be logged in to vote

@SAKTHIVELMARIMUTHU
The map component is not text to be aligned with "text-align" style.

Block elements are usually aligned horizontally in two ways:

  1. margin-right: auto; margin-left: auto; -> OR ->
  2. on parent element: display: flex; justify-content: center;

Just google "align div horizontally".

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@mosh-tudor
Comment options

Answer selected by SAKTHIVELMARIMUTHU
@SAKTHIVELMARIMUTHU
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants