Skip to content

Commit

Permalink
Merge pull request #60 from nshusr/patch-1
Browse files Browse the repository at this point in the history
调整图片默认居中
  • Loading branch information
AShujiao authored Aug 4, 2021
2 parents fd868df + 12a3fac commit f295fff
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/FileDom.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,9 @@ export class FileDom {
/*ext-${this.extName}-start*/
/*ext.${this.extName}.ver.${version}*/
body{
background-size:cover;
background-size: cover;
background-repeat: no-repeat;
background-position: center;
opacity:${opacity};
background-image:url('${this.imagePath}');
}
Expand Down Expand Up @@ -118,4 +119,4 @@ export class FileDom {
return false;
}
}
}
}

0 comments on commit f295fff

Please sign in to comment.