fix: item page background conflict

This commit is contained in:
benonymity 2023-12-23 01:45:40 -05:00
parent 26d0209763
commit 439ab2c8c0
4 changed files with 6 additions and 8 deletions

View file

@ -164,6 +164,7 @@ export default {
showFullscreen(val) {
this.updateScreenSize()
this.$store.commit('setPlayerFullscreen', !!val)
document.querySelector('body').style.backgroundColor = this.showFullscreen ? this.coverRgb : ""
},
bookCoverAspectRatio() {
this.updateScreenSize()