File tree Expand file tree Collapse file tree 2 files changed +12
-7
lines changed
packages/compass-indexes/src/components Expand file tree Collapse file tree 2 files changed +12
-7
lines changed Original file line number Diff line number Diff line change @@ -37,6 +37,11 @@ const toolbarButtonsContainer = css({
37
37
alignItems : 'center' ,
38
38
} ) ;
39
39
40
+ const indexesToolbarContainerStyles = css ( {
41
+ padding : spacing [ 400 ] ,
42
+ paddingBottom : 0 ,
43
+ } ) ;
44
+
40
45
const alignSelfEndStyles = css ( {
41
46
marginLeft : 'auto' ,
42
47
} ) ;
@@ -98,7 +103,10 @@ export const IndexesToolbar: React.FunctionComponent<IndexesToolbarProps> = ({
98
103
) ;
99
104
100
105
return (
101
- < div data-testid = "indexes-toolbar-container" >
106
+ < div
107
+ className = { indexesToolbarContainerStyles }
108
+ data-testid = "indexes-toolbar-container"
109
+ >
102
110
{ ! isReadonlyView && (
103
111
< div data-testid = "indexes-toolbar" >
104
112
< div className = { toolbarButtonsContainer } >
Original file line number Diff line number Diff line change @@ -35,11 +35,6 @@ import CreateIndexModal from '../create-index-modal/create-index-modal';
35
35
const IDEAL_NUMBER_OF_MAX_INDEXES = 10 ;
36
36
37
37
const containerStyles = css ( {
38
- paddingTop : spacing [ 400 ] ,
39
- paddingLeft : spacing [ 400 ] ,
40
- paddingRight : spacing [ 400 ] ,
41
- // No padding bottom so that the table can scroll visibly to the bottom
42
- paddingBottom : 0 ,
43
38
gap : spacing [ 400 ] ,
44
39
display : 'flex' ,
45
40
flexDirection : 'column' ,
@@ -106,7 +101,9 @@ function isRefreshingStatus(status: FetchStatus) {
106
101
}
107
102
108
103
const indexesContainersStyles = css ( {
109
- paddingTop : spacing [ 400 ] ,
104
+ padding : spacing [ 400 ] ,
105
+ // No padding bottom so that the table can scroll visibly to the bottom.
106
+ paddingBottom : 0 ,
110
107
display : 'grid' ,
111
108
gridTemplateColumns : '100%' ,
112
109
gap : spacing [ 200 ] ,
You can’t perform that action at this time.
0 commit comments