Styling Accordion tab dash bootstrap component

You need to change the styling for .accordion-button to this:

.accordion-button {
    text-align: center;
    display: block;
}

Place this in a .css file under the assets which should be placed on the same directory level as your application file.