Skip to content

Commit

Permalink
fix(v2): avatar class names
Browse files Browse the repository at this point in the history
  • Loading branch information
yangshun committed Apr 13, 2019
1 parent f0dc68d commit fbfb26e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion packages/docusaurus/lib/default-theme/Navbar/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ function Navbar(props) {
};

return (
<nav className="navbar navbar-fixed-top">
<nav className="navbar navbar-light navbar-fixed-top">
<div className="navbar-inner">
<div className="navbar-items">
<div key="logo" className="navbar-item">
Expand Down
12 changes: 6 additions & 6 deletions packages/docusaurus/lib/default-theme/Post/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,12 @@ function Post(props) {
</div>
<div className="avatar margin-bottom-md">
{authorImageURL && (
<a href={authorURL} target="_blank" rel="noreferrer noopener">
<img
className="avatar-profile"
src={authorImageURL}
alt={author}
/>
<a
className="avatar-photo-link"
href={authorURL}
target="_blank"
rel="noreferrer noopener">
<img className="avatar-photo" src={authorImageURL} alt={author} />
</a>
)}
<div className="avatar-intro">
Expand Down
2 changes: 1 addition & 1 deletion website/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ function Home() {
<div className="avatar avatar-vertical margin-bottom-sm">
<img
alt={quote.name}
className="avatar-profile"
className="avatar-photo avatar-photo-xl"
src={`${siteConfig.baseUrl}${quote.thumbnail}`}
/>
<div className="avatar-intro">
Expand Down

0 comments on commit fbfb26e

Please sign in to comment.