Two span, one with icon and the other with text, makes me a line jump using the d-none d - * - block MD Bootstrap

0

You can see the demonstration here , my goal is that the text appears next to the icon and not below.

    
asked by Pablo Contreras 01.10.2018 в 20:25
source

1 answer

1

Maybe this is what you are looking for:

<button type="button" (click)="refreshFilter()" class="btn btn-default">
    <span class="fa fa-eraser"></span> 
    <span class="d-none d-md-inline-block d-lg-inline-block d-xl-inline-block"> Limpiar</span>
</button>

Instead of using d-*-block , use d-*-inline-block .

Greetings!

    
answered by 01.10.2018 / 21:51
source