Skip to content

Commit e55dc97

Browse files
committed
Fix:search content box can`t display in pages except homepage
1 parent 8fca115 commit e55dc97

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

assets/css/main.css

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ html {
137137
width: 100%;
138138
height: fit-content;
139139
animation: 0.8s ease;
140-
overflow: hidden; /* 防止内部元素溢出 */
140+
overflow: visible;
141141
}
142142

143143
.sidebar {
@@ -164,6 +164,7 @@ html {
164164
.search-wrapper {
165165
position: relative;
166166
z-index: 10003 !important;
167+
margin-top: 20px;
167168
}
168169

169170
#search-input {
@@ -195,17 +196,15 @@ html {
195196
max-height: 350px;
196197
overflow-y: auto;
197198
z-index: 2147483647 !important;
198-
background: rgba(255, 255, 255, 0.85);
199-
backdrop-filter: blur(20px) saturate(180%);
200-
-webkit-backdrop-filter: blur(20px) saturate(180%);
199+
background: #ffffff;
201200
border-radius: 0;
202201
box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
203202
display: none;
204203
border: 1px solid var(--glass-border);
205204
}
206205

207206
.dark-mode #results-container {
208-
background: rgba(30, 30, 35, 0.85) !important;
207+
background: #1e1e23 !important;
209208
}
210209

211210
#results-container li {
@@ -582,5 +581,3 @@ footer {
582581
background-color: #ffd54f;
583582
color: #000 !important;
584583
}
585-
ba(255, 193, 7, 0.2);
586-
}

0 commit comments

Comments
 (0)