Skip to content

Commit

Permalink
Merge pull request #274 from QiuWeimengChan/fix-bangumi-starlight.sta…
Browse files Browse the repository at this point in the history
…rs8-bug

close #273
  • Loading branch information
HCLonely authored Mar 28, 2023
2 parents 73dabca + 4e34ab3 commit 3139e2f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions lib/bangumi-generator.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ module.exports = /*#__PURE__*/function () {
source: (_config$type$source = config[type].source) !== null && _config$type$source !== void 0 ? _config$type$source : 'bili',
showMyComment: (_config$type$showMyCo = config[type].showMyComment) !== null && _config$type$showMyCo !== void 0 ? _config$type$showMyCo : false,
pagination: (_config$type$paginati = config[type].pagination) !== null && _config$type$paginati !== void 0 ? _config$type$paginati : false,
theme: fs.existsSync(path.join(__dirname, "".concat(config.theme, ".css"))) ? config.theme : null,
ejsTemplate: fs.readFileSync(path.join(__dirname, "templates/".concat(config[type].source === 'bgm' ? 'bgm' : 'bili', "-template.ejs"))).toString().replace('class="bangumi-item"', 'class="bangumi-item bangumi-hide"'),
wantWatch: wantWatch,
watched: watched,
Expand Down
2 changes: 1 addition & 1 deletion src/lib/templates/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ a.bangumi-tab {
}

.bangumi-starlight.stars8 {
width: 405px;
width: 40px;
}

.bangumi-starlight.stars9 {
Expand Down

0 comments on commit 3139e2f

Please sign in to comment.