Is there a way to create flexible width tabs buttons?
For example, these are my normal tabs:
https://i.sstatic.net/mXnIG.png
I would like the tabs' width to be similar to this image:
https://i.sstatic.net/lNgHm.png
I attempted to display the full text using the following CSS code:
.tab-button {
min-width: fit-content;
}
however, the result was like in this picture: