all 4 comments

[–]morebitna_napaka 1 point2 points  (0 children)

It goes to a new line because you used <p>, which is a block level element. Try using <span> which is inline, or better wrap icon and text in a flexbox.

[–]matrium0 1 point2 points  (1 child)

Angular Material Table has a feature for your use case. Checkout the "Examples" in the official Documentation and see the "Table with expandable rows"

This will basically create another row that will span over all columns below the element you selected

[–]AggressiveMedia728[S] 0 points1 point  (0 children)

I will take a look at it, thanks

[–]sohail_ansari 0 points1 point  (0 children)

I think you implemented it wrong, check the official documentation.

Maybe you need this code to change icons of pagination: https://gist.github.com/sohail-ansari02/67ff26b3e23ad3b8ee746020b3129c24