@umijs/plugin-docs 4.0.20 → 4.0.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -94,7 +94,7 @@ export default () => {
|
|
|
94
94
|
id="search-results-wrapper"
|
|
95
95
|
className={cx(
|
|
96
96
|
'absolute transition-all duration-500 top-12 w-96 rounded-lg',
|
|
97
|
-
'cursor-pointer shadow overflow-
|
|
97
|
+
'cursor-pointer shadow overflow-y-scroll',
|
|
98
98
|
keyword && isFocused ? 'max-h-80' : 'max-h-0',
|
|
99
99
|
)}
|
|
100
100
|
>
|
|
@@ -140,7 +140,7 @@ article div[data-rehype-pretty-code-fragment] pre > code > .line {
|
|
|
140
140
|
@apply border-l-2 border-transparent;
|
|
141
141
|
}
|
|
142
142
|
article div[data-rehype-pretty-code-fragment] pre > code > .line.highlighted {
|
|
143
|
-
@apply bg-neutral-100 dark:bg-neutral-300 bg-opacity-
|
|
143
|
+
@apply bg-neutral-100 dark:bg-neutral-300 bg-opacity-30 dark:bg-opacity-10 border-l-blue-400 dark:border-l-sky-600;
|
|
144
144
|
}
|
|
145
145
|
|
|
146
146
|
/* 链接 */
|
|
@@ -219,6 +219,10 @@ article hr {
|
|
|
219
219
|
);
|
|
220
220
|
}
|
|
221
221
|
|
|
222
|
+
body {
|
|
223
|
+
overflow-y: scroll;
|
|
224
|
+
}
|
|
225
|
+
|
|
222
226
|
html {
|
|
223
227
|
scroll-behavior: smooth;
|
|
224
228
|
}
|