You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by el...@apache.org on 2026/01/20 19:03:58 UTC
(superset) 08/37: style(chart): restyle table pagination (#34311)
This is an automated email from the ASF dual-hosted git repository.
elizabeth pushed a commit to branch elizabeth/fix-resize-bug
in repository https://gitbox.apache.org/repos/asf/superset.git
commit d2b4f1eb32748d3e97237cbc549b5a6f5db380d7
Author: Ian McEwen <iw...@gmail.com>
AuthorDate: Sun Jul 27 22:39:10 2025 -0400
style(chart): restyle table pagination (#34311)
---
superset-frontend/plugins/plugin-chart-table/src/Styles.tsx | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/superset-frontend/plugins/plugin-chart-table/src/Styles.tsx b/superset-frontend/plugins/plugin-chart-table/src/Styles.tsx
index 1f11d551b4..14b3e4f2d2 100644
--- a/superset-frontend/plugins/plugin-chart-table/src/Styles.tsx
+++ b/superset-frontend/plugins/plugin-chart-table/src/Styles.tsx
@@ -149,7 +149,12 @@ export default styled.div`
.dt-pagination {
text-align: right;
/* use padding instead of margin so clientHeight can capture it */
- padding-top: 0.5em;
+ padding: ${theme.paddingXXS}px 0px;
+ }
+
+ .dt-pagination .pagination > li {
+ display: inline;
+ margin: 0 ${theme.marginXXS}px;
}
.dt-pagination .pagination > li > a,
@@ -157,6 +162,8 @@ export default styled.div`
background-color: ${theme.colorBgBase};
color: ${theme.colorText};
border-color: ${theme.colorBorderSecondary};
+ padding: ${theme.paddingXXS}px ${theme.paddingXS}px;
+ border-radius: ${theme.borderRadius}px;
}
.dt-pagination .pagination > li.active > a,