Author Topic: Visual vertical misplacement in pager  (Read 2781 times)

Eugene

  • Newbie
  • *
  • Posts: 1
    • View Profile
Visual vertical misplacement in pager
« 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.


paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: Visual vertical misplacement in pager
« Reply #1 on: January 31, 2016, 02:28:25 pm »
Thanks for pointing out the fix.

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