plotly / dash-table

OBSOLETE: now part of https://github.com/plotly/dash
https://dash.plotly.com
MIT License
420 stars 74 forks source link

Pagination styling #929

Open aboyher opened 2 years ago

aboyher commented 2 years ago

Feature request: Options or ability to more easily change the styling of the pagination controls. For instance, if the table is too close to another component, it wraps around onto a new line, or gets completely hidden. In most cases, I just want the controls smaller as a whole, but attempting this through css doesn't work (I've tried changing .previous-next-container, but the most I've been able to change is background color).

uns1 commented 1 year ago

Try changing the line-height of .previous-next-container to make it smaller. This is what I currently use:

.previous-next-container { padding: 3px; margin-top: 5px; line-height: 1; display: flex; justify-content: center; align-items: center; }