My angular material button has been customized with increased size and the text is currently offset. Here is the code:
<a mat-raised-button class="buttons-class" color="accent">Hello!</a>
To increase the size, the following CSS was added:
.buttons-class {
height: 60px !important;
width: 210px !important;
align-items: center;
}
However, I am now facing an issue with centering the text within the button. The text is not centered as desired:
https://i.sstatic.net/mDXbg.png
Attempts to center the text using standard techniques like putting it in a span or div have not been successful so far.