Skip to content

Commit d746274

Browse files
authored
fix: set the handsontable css version (#867)
* fix: set the handsontable css version * fix: set max height
1 parent 666496f commit d746274

File tree

3 files changed

+3
-8
lines changed

3 files changed

+3
-8
lines changed

compose/neurosynth-frontend/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
<link rel="preload" as="image" href="/static/brain-analysis.png" type="image/png">
1919

20-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/handsontable/dist/handsontable.full.min.css" crossorigin="anonymous" />
20+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/handsontable@12.3.3/dist/handsontable.full.min.css" crossorigin="anonymous" />
2121

2222
<link
2323
rel="stylesheet"

compose/neurosynth-frontend/src/pages/Study/components/EditStudyAnalysesList.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const EditStudyAnalysesList: React.FC<{
2828
<List
2929
sx={{
3030
width: '250px',
31-
maxHeight: '70vh',
31+
maxHeight: '946px',
3232
overflow: 'auto',
3333
}}
3434
disablePadding

compose/neurosynth-frontend/src/pages/Study/components/EditStudyAnalysis.tsx

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,7 @@ const EditStudyAnalysis: React.FC<{
4949
confirmText="delete analysis"
5050
rejectText="cancel"
5151
/>
52-
<Button
53-
variant="contained"
54-
onClick={() => setDialogIsOpen(true)}
55-
disableElevation
56-
color="error"
57-
>
52+
<Button variant="contained" onClick={() => setDialogIsOpen(true)} disableElevation color="error">
5853
Delete Analysis
5954
</Button>
6055
</Box>

0 commit comments

Comments
 (0)