Skip to content

Commit

Permalink
Release 1.0.2.1 (#11)
Browse files Browse the repository at this point in the history
* 运行环境检查

* 播放器大小自适应

* bump 1.0.2.0
  • Loading branch information
MotooriKashin authored Aug 2, 2024
1 parent 3d5f0d0 commit 225bc23
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dist/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,5 +80,5 @@
"declarativeNetRequest",
"declarativeNetRequestWithHostAccess"
],
"version": "1.0.1.0"
"version": "1.0.2.0"
}
21 changes: 19 additions & 2 deletions src/docs/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,25 @@ body {
anchor-name: --bofqi-example;

&:not(.mode-fullscreen-web) {
inline-size: 1920px !important;
block-size: calc(1920px / 16* 9 + 68px) !important;
inline-size: 980px;
min-inline-size: 980px;
block-size: calc(980px / 16 * 9 + 68px);

@media screen and (min-width:1400px) {

& {
inline-size: 1160px;
block-size: calc(1160px / 16 * 9 + 68px);
}
}

@media screen and (min-width:2500px) {

& {
inline-size: 1920px;
block-size: calc(1920px / 16 * 9 + 68px);
}
}
}
}
}
1 change: 1 addition & 0 deletions src/docs/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { Player } from "../player";
import '../utils/support';

document.body.appendChild(new Player());
2 changes: 1 addition & 1 deletion src/main/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// 用户脚本

import { Router, ROUTER } from "./bilibili";
import "./support/index";
import "../utils/support";

const router = new Router();

Expand Down
File renamed without changes.

0 comments on commit 225bc23

Please sign in to comment.