-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve blocks highlighting effects #12951
Comments
This was referenced Oct 27, 2024
Closed
改进列表下 av |
Wolai 那种给一个单独的元素设置背景色的方案有办法实现吗? |
采用的应该就是你说的 wolai 的那种 |
那我等 dev 版看看 |
我先 PR 了:#13090
去掉这两个: .protyle-wysiwyg--select,.protyle-wysiwyg--hl {
--b3-parent-background: transparent !important
} .protyle-wysiwyg--select .table[custom-pinthead=true] thead, .protyle-wysiwyg--select .av__row--footer, .protyle-wysiwyg--select .av__counter, .protyle-wysiwyg--select .av__row--header, .protyle-wysiwyg--select .av__colsticky, .protyle-wysiwyg--hl .table[custom-pinthead=true] thead, .protyle-wysiwyg--hl .av__row--footer, .protyle-wysiwyg--hl .av__counter, .protyle-wysiwyg--hl .av__row--header, .protyle-wysiwyg--hl .av__colsticky {
background-color: transparent !important;
} 然后再给伪元素加个 z-index 好像能解决 .protyle-wysiwyg--select:after, .protyle-wysiwyg--hl:after {
z-index: 3;
} |
Closed
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
更改高亮块的实现方式
看到 Wolai 的方案相当完美,给一个单独的元素设置半透明的背景色,下面的元素都能正确叠加颜色:
default.webm
The text was updated successfully, but these errors were encountered: