Skip to content

Component is positioned centered veritically? #41

Closed Answered by graphieros
manulsan asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @manulsan

Chart component are currently designed to work with titles.
When a title has content, the chart is centered as you would expect.

I will consider making changes to add config options to add padding on the container, however, you can already obtain the result you want by targeting the css class of the chart container and add padding top. For example:

.vue-ui-gauge,
.vue-ui-wheel,
.vue-ui-thermometer {
  padding-top: 24px;
}

You may need to apply this style globally, not in a style scoped context.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by graphieros
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
documentation Improvements or additions to documentation
2 participants