Add padding above anchor titles so they show up nice when scrolled to
This commit is contained in:
@@ -34,7 +34,7 @@ export class PropertyBlock extends React.Component<PropertyBlockProps, PropertyB
|
||||
return (
|
||||
<div
|
||||
id={`${this.props.sectionName}-${property.name}`}
|
||||
className="pb4"
|
||||
className="pb4 pt2"
|
||||
key={`property-${property.name}-${property.type.name}`}
|
||||
onMouseOver={this._setAnchorVisibility.bind(this, true)}
|
||||
onMouseOut={this._setAnchorVisibility.bind(this, false)}
|
||||
|
@@ -100,7 +100,7 @@ export class TypeDefinition extends React.Component<TypeDefinitionProps, TypeDef
|
||||
return (
|
||||
<div
|
||||
id={this.props.shouldAddId ? typeDefinitionAnchorId : ''}
|
||||
className="pb2"
|
||||
className="pb2 pt2"
|
||||
style={{ overflow: 'hidden', width: '100%' }}
|
||||
onMouseOver={this._setAnchorVisibility.bind(this, true)}
|
||||
onMouseOut={this._setAnchorVisibility.bind(this, false)}
|
||||
|
Reference in New Issue
Block a user