Content Projection into pButton in PrimeNg 10

UI Components for Angular
Post Reply
Posts: 5
Joined: 12 Apr 2017, 07:53

03 Nov 2020, 17:00

In PrimeNg 9, I could center-align the content projected into a button? Does anybody know how this can be achieved in PrimeNg 10 ?

Code: Select all

<div class="ui-g ui-fluid" >
  <div class="ui-g-12">
    <button pButton>
      <i class="fa fa-home"></i>

I already submitted an issue of having the &nbsp; rendered when the label is missing.

Post Reply

Return to “PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 4 guests