File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
packages/gatsby-theme-apollo-docs/src/components Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ import Footer from './footer';
4
4
import MDXRenderer from 'gatsby-plugin-mdx/mdx-renderer' ;
5
5
import PageContent from './page-content' ;
6
6
import PageHeader from './page-header' ;
7
+ import { HEADER_HEIGHT } from '../utils' ;
7
8
import PropTypes from 'prop-types' ;
8
9
import React , { Fragment , createContext , useContext } from 'react' ;
9
10
import rehypeReact from 'rehype-react' ;
@@ -87,7 +88,9 @@ export const StyledTable = styled.table({
87
88
fontSize : 'inherit' ,
88
89
lineHeight : 'inherit' ,
89
90
fontWeight : 'bold' ,
90
- marginBottom : '5px'
91
+ marginBottom : '5px' ,
92
+ paddingTop : ( HEADER_HEIGHT + 20 ) ,
93
+ marginTop : - ( HEADER_HEIGHT + 20 )
91
94
} ,
92
95
'&:first-child p' : {
93
96
fontSize : '14px' ,
You can’t perform that action at this time.
0 commit comments