fix: style fixes, finish background categories option, fix photoinformation

This commit is contained in:
David Ralph
2021-04-11 22:18:06 +01:00
parent 061c9ef6db
commit 9d09ece8b7
5 changed files with 40 additions and 18 deletions

View File

@@ -64,6 +64,8 @@ export default class Background extends React.PureComponent {
const backgroundImage = document.querySelector('#backgroundImage');
if (localStorage.getItem('bgtransition') === 'false') {
document.querySelector('.photoInformation').style.display = 'block';
return backgroundImage.setAttribute(
'style',
`background-image: url(${url}); -webkit-filter: blur(${localStorage.getItem('blur')}px) brightness(${localStorage.getItem('brightness')}%);`