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;
|
||||
}
|
||||
|
||||
.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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue