Center Google gauge

Created on 16 April 2019, about 6 years ago
Updated 18 April 2025, about 2 months ago

I am not so good in CSS but it seems that the Google gauge is impossible to center (well, at least for me).
I am using a block to set up the chart and it looks fine but when trying to center the block in CSS it does not work with Google gauge but it looks as all other charts react on the CSS, also with C3 and chart.js
The CSS I have tried is

.view-mina-resultat.view-display-id-block_4 {
    display:block;
    margin-left:auto;
    margin-right:auto;
    text-align:center;
}

If there is a quick fix or work arround on this, please let me know.
Thanks

πŸ’¬ Support request
Status

Closed: cannot reproduce

Component

Google Charts integration

Created by

πŸ‡ΈπŸ‡ͺSweden chrotto

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024