ParamQuery grid support forum

General Category => Bug Report => Topic started by: Eugene on November 13, 2015, 03:57:20 pm

Title: Visual vertical misplacement in pager
Post by: Eugene on November 13, 2015, 03:57:20 pm
Hello pqGrid team,

Thank you for releasing v.2.0.4! Unfortunately, in 2.0.4, pager elements like "Page N of NN" and "Lines per page:" are incorrectly aligned in vertical direction, the misplacement is 1 or 2 pixels and annoyingly grows when enlarging grid font. For example, on http://paramquery.com/demos/paging_local, "Page 1 of 13" is placed 2 px higher than "1 to 20 of 250". This effect was detected with Firefox 41.0.2 (Linux).

Quick fix is to replace "vertical-align: top;" with "vertical-align: baseline;" in pq-page-placeholder class in pqgrid.dev.css file.

Hope you find better solution for this minor problem.

Title: Re: Visual vertical misplacement in pager
Post by: paramvir on January 31, 2016, 02:28:25 pm
Thanks for pointing out the fix.

Code: [Select]
.pq-pager > .pq-page-placeholder{
vertical-align: baseline;
}