Fixes for pagination on small viewports

https://www.openproject.org/work_packages/15375
Prefer single-quoted strings when you don't need string interpolation or special symbols.