fix: 修复笔记弹窗被导航栏和页脚遮挡,书架统计居中 (v1.1.8)
- 笔记弹窗被遮挡:弹窗是 position:fixed 但由 innerHTML 注入在 .wi-main 内, .wi-main 自带层叠上下文(z-index:1),弹窗的 z-index:10000 无法超越导航栏 (z-index:100)和页脚(DOM 靠后的同级 z-index:1)。现注入后将弹窗移至 body 下, 彻底脱离该层叠上下文 - 弹窗移出 .wr-shelf 后脱离其 --wr-* 变量作用域,为弹窗补独立暗黑适配 (:global 选择器 + 变量映射 + 面板/关闭按钮/文字兜底),避免深色下回退为墨色文字 - 书架统计数据改为水平居中,紧贴主题标题区(标题+强调线)下方,与全站版式一致 - 暗黑下书架分隔线(--wr-line)比全站 rule 略提亮,年份分组装饰线在深色底可见
This commit is contained in:
+1
-1
@@ -28,7 +28,7 @@ spec:
|
||||
description: 微信读书书架(依赖微信读书插件)
|
||||
screenshot:
|
||||
file: weread.html
|
||||
version: "1.1.7"
|
||||
version: "1.1.8"
|
||||
requires: ">=2.24.0"
|
||||
license:
|
||||
- name: "GPL-3.0"
|
||||
|
||||
Reference in New Issue
Block a user