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({
3737 alignItems : 'center' ,
3838} ) ;
3939
40+ const indexesToolbarContainerStyles = css ( {
41+ padding : spacing [ 400 ] ,
42+ paddingBottom : 0 ,
43+ } ) ;
44+
4045const alignSelfEndStyles = css ( {
4146 marginLeft : 'auto' ,
4247} ) ;
@@ -98,7 +103,10 @@ export const IndexesToolbar: React.FunctionComponent<IndexesToolbarProps> = ({
98103 ) ;
99104
100105 return (
101- < div data-testid = "indexes-toolbar-container" >
106+ < div
107+ className = { indexesToolbarContainerStyles }
108+ data-testid = "indexes-toolbar-container"
109+ >
102110 { ! isReadonlyView && (
103111 < div data-testid = "indexes-toolbar" >
104112 < 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';
3535const IDEAL_NUMBER_OF_MAX_INDEXES = 10 ;
3636
3737const 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 ,
4338 gap : spacing [ 400 ] ,
4439 display : 'flex' ,
4540 flexDirection : 'column' ,
@@ -106,7 +101,9 @@ function isRefreshingStatus(status: FetchStatus) {
106101}
107102
108103const 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 ,
110107 display : 'grid' ,
111108 gridTemplateColumns : '100%' ,
112109 gap : spacing [ 200 ] ,
You can’t perform that action at this time.
0 commit comments