mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-02 03:37:48 +02:00
Add a class to logo image in header
This commit is contained in:
parent
c0109192b1
commit
376ad77361
2 changed files with 15 additions and 12 deletions
|
@ -179,7 +179,10 @@ class HeaderNav extends React.Component {
|
||||||
<div className="headerWrapper wrapper">
|
<div className="headerWrapper wrapper">
|
||||||
<header>
|
<header>
|
||||||
<a href={this.props.baseUrl}>
|
<a href={this.props.baseUrl}>
|
||||||
<img src={this.props.baseUrl + siteConfig.headerIcon} />
|
<img
|
||||||
|
className="logo"
|
||||||
|
src={this.props.baseUrl + siteConfig.headerIcon}
|
||||||
|
/>
|
||||||
{!this.props.config.disableHeaderTitle &&
|
{!this.props.config.disableHeaderTitle &&
|
||||||
<h2>
|
<h2>
|
||||||
{this.props.title}
|
{this.props.title}
|
||||||
|
|
Loading…
Add table
Reference in a new issue