question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Change Pagination vertical margin

See original GitHub issue

Hi, I’m working with version 3.7.2.

How can I change Pagination vertical margin/padding? I tried setting values to containerStyle, dotContainerStyle and dotStyle… but nothing changes.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:3
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

17reactions
bd-arccommented, Jul 23, 2018

I’m surprised that changing containerStyle didn’t have any effect for you in the first place because I’ve just tested the following and it works as expected:

<Pagination containerStyle={{ paddingVertical: 0 }} />

Or maybe you’ve indeed tried with paddingTop and paddingBottom, but not with paddingVertical 😉

7reactions
matteoferigocommented, Jul 23, 2018

You got it. I tried with paddingTop and paddingBottom but I didn’t find the paddingVertical reference. I also found an interesting marginHorizontal to apply on dotContainerStyle. Thanks

Read more comments on GitHub >

github_iconTop Results From Across the Web

Change Pagination vertical margin · Issue #362 - GitHub
Hi, I'm working with version 3.7.2 . How can I change Pagination vertical margin/padding? I tried setting values to containerStyle, ...
Read more >
How to give margin top in datatable pagination? - css
If you want to move the pagination controls down slightly, you can use the DataTables dom option to place the controls in a...
Read more >
Margins and Pagination | crea-lit - Projects at Harvard
To achieve 1 1/2 inch top margin you can do the following: Place the cursor at the top of the page; Select the...
Read more >
Margins Around Pagination Block - Customize with code
blog-post · margin ... I am trying make the pagination container be the same width as the ... Add the following to Design...
Read more >
Pagination - CSS: Cascading Style Sheets - MDN Web Docs
Typically, the pagination component will be centered horizontally underneath the content.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found