Skip to content

Commit a69fc58

Browse files
authored
fix: disable clockface CSS filtering to improve visual performance (#3464)
1 parent e255c9c commit a69fc58

File tree

2 files changed

+10
-12
lines changed

2 files changed

+10
-12
lines changed

src/writeData/components/WriteDataItem.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@
55
color: $cf-white;
66
}
77

8+
.write-data--item {
9+
.cf-selectable-card--children {
10+
filter: unset !important;
11+
}
12+
}
13+
814
.write-data--item-thumb {
915
position: relative;
1016
display: flex;

src/writeData/components/WriteDataSections.tsx

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import {search as searchPlugins} from 'src/writeData/constants/contentTelegrafPl
1010
import {searchClients} from 'src/writeData'
1111

1212
// Components
13-
import {EmptyState, ComponentSize, Grid} from '@influxdata/clockface'
13+
import {EmptyState, ComponentSize} from '@influxdata/clockface'
1414
import FileUploadSection from 'src/writeData/components/FileUploadSection'
1515
import ClientLibrarySection from 'src/writeData/components/ClientLibrarySection'
1616
import TelegrafPluginSection from 'src/writeData/components/TelegrafPluginSection'
@@ -34,17 +34,9 @@ const WriteDataSections: FC = () => {
3434

3535
return (
3636
<>
37-
<Grid>
38-
<Grid.Row>
39-
<FileUploadSection />
40-
</Grid.Row>
41-
<Grid.Row>
42-
<ClientLibrarySection />
43-
</Grid.Row>
44-
<Grid.Row>
45-
<TelegrafPluginSection />
46-
</Grid.Row>
47-
</Grid>
37+
<FileUploadSection />
38+
<ClientLibrarySection />
39+
<TelegrafPluginSection />
4840
</>
4941
)
5042
}

0 commit comments

Comments
 (0)