mirror of https://github.com/mue/mue.git
fix: Unsplash stats on photo info
This commit is contained in:
parent
c5689556d9
commit
ede25cc513
|
@ -271,7 +271,7 @@ function PhotoInformation({ info, url, api }) {
|
|||
{photo} {credit}
|
||||
</span>
|
||||
{info.views && info.downloads !== null ? (
|
||||
<div className="stats">
|
||||
<div className="unsplashStats">
|
||||
<div title={variables.getMessage('widgets.background.views')}>
|
||||
<Views />
|
||||
<span>{info.views.toLocaleString()}</span>
|
||||
|
|
|
@ -449,3 +449,17 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
.unsplashStats {
|
||||
display: flex;
|
||||
flex-flow: row;
|
||||
justify-content: space-between;
|
||||
gap: 40px;
|
||||
margin-right: 40px;
|
||||
div {
|
||||
display: flex;
|
||||
flex-flow: row;
|
||||
gap: 10px;
|
||||
align-items: center;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue