mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-04 17:04:59 +03:00
Replaced site logo span with img
This commit is contained in:
parent
e3e79d5c5d
commit
20007db0c7
@ -13,7 +13,7 @@ const DEV_MODE_DATA = {
|
||||
showPopup: true,
|
||||
site: Fixtures.site,
|
||||
member: Fixtures.member.paid,
|
||||
page: 'signin'
|
||||
page: 'accountHome'
|
||||
};
|
||||
export default class App extends React.Component {
|
||||
constructor(props) {
|
||||
|
@ -442,7 +442,6 @@ const GlobalStyles = `
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
||||
.gh-portal-list {
|
||||
|
@ -118,7 +118,7 @@ export default class SigninPage extends React.Component {
|
||||
if (siteLogo) {
|
||||
logoStyle.backgroundImage = `url(${siteLogo})`;
|
||||
return (
|
||||
<span className='gh-portal-signup-logo' style={logoStyle}></span>
|
||||
<img className='gh-portal-signup-logo' src={siteLogo} alt={this.context.site.title} />
|
||||
);
|
||||
}
|
||||
return null;
|
||||
|
@ -379,7 +379,7 @@ class SignupPage extends React.Component {
|
||||
if (siteLogo) {
|
||||
logoStyle.backgroundImage = `url(${siteLogo})`;
|
||||
return (
|
||||
<span className='gh-portal-signup-logo' style={logoStyle}> </span>
|
||||
<img className='gh-portal-signup-logo' src={siteLogo} alt={site.title} />
|
||||
);
|
||||
}
|
||||
return null;
|
||||
|
Loading…
Reference in New Issue
Block a user