Display all text on button

Asked

Viewed 37 times

0

Hello! It is possible to display all button text on it?

segment button

Automatically adding these ellipsis, but would like to display all the text.

      <ion-segment-button  value="Bareserestaurantes" class="round-button" (click)="selecionaprodutoscategoria(2)">
        Bares & Restaurantes
      </ion-segment-button>
  • The image is not loading, but I think we can understand what it is. Only this showing Bares&re...

1 answer

0

One solution is to change the css to allow line breaking.

.round-button{
    white-space: normal;
}

Browser other questions tagged

You are not signed in. Login or sign up in order to post.