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