Skip to content

Commit fe30da9

Browse files
authored
fix(DataTable): remove reset to update font-size in Helltool (#2067)
* remove reset to update font-size in Helltool * update snapshots * add font directly to Table
1 parent b9478b3 commit fe30da9

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

packages/components/src/DataTable/DataTable.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
*/
2626

2727
import styled from 'styled-components'
28-
import { reset } from '@looker/design-tokens'
2928
import React, { FC, useState } from 'react'
3029
import { MixedBoolean } from '../Form'
3130
import { BulkActions } from './BulkActions'
@@ -127,6 +126,5 @@ export const DataTableLayout: FC<DataTableProps> = (props) => {
127126
}
128127

129128
export const DataTable = styled(DataTableLayout)<DataTableProps>`
130-
${reset}
131129
width: 100%;
132130
`

packages/components/src/DataTable/Table.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,7 @@ const stickyColumns = css<TableProps>`
180180
export const Table = styled(TableLayout)`
181181
border-collapse: initial;
182182
border-spacing: 0;
183+
font-family: ${({ theme }) => theme.fonts.body};
183184
font-size: ${({ theme }) => theme.fontSizes.small};
184185
line-height: 1;
185186
width: 100%;

0 commit comments

Comments
 (0)