Skip to content

Commit 3148b28

Browse files
committed
refactor: optimize knowledge page styles
1 parent a7a04f4 commit 3148b28

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

client/pages/knowledge/[pId]/[id]/index.module.scss

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
.content {
1717
> article {
1818
padding: 1rem;
19-
background: var(--bg-second);
19+
background: var(--bg-box);
2020
border-radius: var(--border-radius);
2121
box-shadow: var(--box-shadow);
2222

@@ -62,7 +62,7 @@
6262
width: 40%;
6363
padding: 8px;
6464
overflow: hidden;
65-
background: var(--bg-second);
65+
background: var(--bg-box);
6666
border: 1px solid var(--border-color);
6767
border-radius: var(--border-radius);
6868
box-shadow: var(--box-shadow);
@@ -100,7 +100,7 @@
100100

101101
.commentWrap {
102102
box-shadow: var(--box-shadow);
103-
background: var(--bg-second);
103+
background: var(--bg-box);
104104

105105
.title {
106106
margin: 1rem 0;
@@ -128,7 +128,7 @@
128128

129129
&.isBg {
130130
padding: 0.8rem;
131-
background: var(--bg-second);
131+
background: var(--bg-box);
132132

133133
> main {
134134
max-height: 200px;

0 commit comments

Comments
 (0)