Page 1 of 1

Having a wide element in paginatorleft shifts the paginator from the center

Posted: 27 Dec 2018, 03:19
by Sasha
Hello,
I am using pTemplate "paginatorleft" and "paginatorright" on my p-table.
When the item inside "paginatorleft" is sufficiently long, the icons and page numbers of the paginator, which was supposed to be in the center, are now shifted to the right.
When the thing inside "paginatorleft" is a p-dropdown that varies in width depending on the width of the selected item in the dropdown, this means that the position of the paginator is now also shifting whenever I select an item of a different width.
The reverse applies when "paginatorright" contains a long and wide element - the paginator is offset towards the left, instead of being centered in the table.

I believe this behavior is less than ideal, and would conjecture that it may be a bug.

I am using PrimeNG 6.1.5. Thank you.

Re: Having a wide element in paginatorleft shifts the paginator from the center

Posted: 28 Dec 2018, 14:06
by yigitfindikli
Hi,
Can you provide a stackblitz sample ?

https://stackblitz.com/github/primeface ... e-template

Re: Having a wide element in paginatorleft shifts the paginator from the center

Posted: 04 Jan 2019, 03:23
by Sasha