File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 3
3
@import " ~@blueprintjs/icons/lib/css/blueprint-icons.css" ;
4
4
@import " ~@blueprintjs/select/lib/css/blueprint-select.css" ;
5
5
@import " ~@blueprintjs/core/lib/scss/variables" ;
6
- // @import "~@blueprintjs/core/src/components/html-table/_html-table.scss";
7
6
7
+ // Since the import isn't working anymore since the Blueprint 5 migration, the following variable are copied from:
8
+ // @import "~@blueprintjs/core/src/components/html-table/_html-table.scss";
8
9
$table-row-height : $pt-grid-size * 4 !default ;
9
10
$table-row-height-small : $pt-grid-size * 3 !default ;
10
11
$table-border-width : 1px !default ;
@@ -25,11 +26,11 @@ $dark-table-border-color: $pt-dark-divider-white !default;
25
26
26
27
// Filter cells
27
28
.filter-cell {
28
- padding : 1px !important ;
29
+ padding : 1px 0 0 1 px !important ;
29
30
.bp5-input {
30
31
box-shadow : none ;
31
32
}
32
- .bp5-button :not (.bp4 -minimal ) {
33
+ .bp5-button :not (.bp5 -minimal ) {
33
34
box-shadow : none !important ;
34
35
border-radius : 0 !important ;
35
36
width : 100% !important ;
@@ -45,7 +46,7 @@ $dark-table-border-color: $pt-dark-divider-white !default;
45
46
text-align : right ;
46
47
}
47
48
& .datagrid-cell-actions {
48
- padding : 0 ;
49
+ padding : 1 px 0 0 1 px !important ;
49
50
}
50
51
}
51
52
Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ export const Datagrid = <T extends DataSourceType>(props: DatagridProps<T>) => {
62
62
63
63
return (
64
64
< div className = "datagrid-wrapper" >
65
- < HTMLTable className = "datagrid" bordered striped >
65
+ < HTMLTable className = "datagrid" bordered striped compact >
66
66
< thead >
67
67
< tr >
68
68
{ columns . map ( col => (
You can’t perform that action at this time.
0 commit comments