mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-29 08:57:03 +02:00
fix(v2): avatar class names
This commit is contained in:
parent
f0dc68d01a
commit
fbfb26e17c
3 changed files with 8 additions and 8 deletions
|
@ -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">
|
||||
|
|
|
@ -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">
|
||||
|
|
|
@ -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">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue