Hello,
I am at the end of my tether and look for some suggestion.
I try to create an IonButton with multiple (in my case 2) lines. An IonButton is created as display: flex
, with a span wit5h class .button-inner
. This class defines a fixed flex-flow: row
and needs to be changed to flex-flow: column
in order to display correctly:
As there is no appropriate CSS Custom Property I searched for a solution.
This solution does not work (any more).
.button-inner { flex-flow: column; }
I guess this is because Ionic buttons use CSS shadow parts now, that cannot be modify directly.
So I tried
ion-button::part(native) .button-inner { flex-flow: column; }
But this doesnât work either, because ::part()
does not allow to select inside of it.
Any suggestion on how to solve that problem?