mirror of
https://github.com/apache/superset.git
synced 2026-06-02 06:09:21 +00:00
Add tnum property to tables (#20093)
This commit is contained in:
@@ -59,6 +59,10 @@ const StyledDiv = styled.div`
|
||||
margin-left: ${theme.gridUnit}px;
|
||||
}
|
||||
|
||||
.reactable-data tr {
|
||||
font-feature-settings: 'tnum' 1;
|
||||
}
|
||||
|
||||
.reactable-data tr,
|
||||
.reactable-header-sortable {
|
||||
-webkit-transition: ease-in-out 0.1s;
|
||||
|
||||
@@ -36,6 +36,10 @@ export const Styles = styled.div`
|
||||
top: 0;
|
||||
}
|
||||
|
||||
table tbody tr {
|
||||
font-feature-settings: 'tnum' 1;
|
||||
}
|
||||
|
||||
table.pvtTable thead tr th,
|
||||
table.pvtTable tbody tr th {
|
||||
background-color: ${theme.colors.grayscale.light5};
|
||||
|
||||
@@ -105,6 +105,10 @@ const Styles = styled.div`
|
||||
|
||||
.slice_container {
|
||||
height: ${p => p.height}px;
|
||||
|
||||
.pivot_table tbody tr {
|
||||
font-feature-settings: 'tnum' 1;
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
|
||||
@@ -172,6 +172,7 @@ export const Table = styled.table`
|
||||
}
|
||||
|
||||
.table-cell {
|
||||
font-feature-settings: 'tnum' 1;
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
max-width: 320px;
|
||||
|
||||
Reference in New Issue
Block a user