Skip to content
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

css error in sqm qos section #545

Open
murdocklawless opened this issue Jan 1, 2025 · 4 comments
Open

css error in sqm qos section #545

murdocklawless opened this issue Jan 1, 2025 · 4 comments

Comments

@murdocklawless
Copy link

there is a white bar in sqm qos section.

2025-01-02 023050

@SpeedPartner
Copy link
Collaborator

SpeedPartner commented Jan 2, 2025

Firmware & theme version, please.

@sbwml
Copy link

sbwml commented Jan 4, 2025

dark.css 缺少 .cbi-section-remove:nth-of-type(4n+3) 元素背景色导致。分享我自己的解决方法:

--- a/less/dark.less
+++ b/less/dark.less
@@ -502,6 +502,11 @@ textarea {
     background-color: #1e1e1e;
 }
 
+.cbi-section[id] .cbi-section-remove:nth-of-type(4n+3),
+.cbi-section[id] .cbi-section-node:nth-of-type(4n+4) {
+    background-color: #1e1e1e;
+}
+
 .node-system-packages > .main table tr td:nth-last-child(1) {
     color: #ccc;

之后它就不会以白色背景显示

image

@murdocklawless
Copy link
Author

Firmware & theme version, please.

firmware 23.05, theme version 2.3.1

@jerrykuku
Copy link
Owner

dark.css 缺少 .cbi-section-remove:nth-of-type(4n+3) 元素背景色导致。分享我自己的解决方法:

--- a/less/dark.less
+++ b/less/dark.less
@@ -502,6 +502,11 @@ textarea {
background-color: #1e1e1e;
}

+.cbi-section[id] .cbi-section-remove:nth-of-type(4n+3),
+.cbi-section[id] .cbi-section-node:nth-of-type(4n+4) {

  • background-color: #1e1e1e;
    +}

.node-system-packages > .main table tr td:nth-last-child(1) {
color: #ccc;
之后它就不会以白色背景显示

image

已经更新,感谢提供方案。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants