pretty-toc 1.2.0 → 1.2.1
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.
- package/dist/index.mjs +3 -2
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -210,14 +210,15 @@ function prettyToc(option) {
|
|
|
210
210
|
list-style-type: ${listStyle} ;
|
|
211
211
|
list-style-position: inside;
|
|
212
212
|
}
|
|
213
|
-
|
|
214
|
-
|
|
213
|
+
.toc-wrapper > ul {
|
|
214
|
+
padding-left: 0;
|
|
215
215
|
}
|
|
216
216
|
@keyframes fadeIn {
|
|
217
217
|
from { opacity: 0; }
|
|
218
218
|
to { opacity: 1; }
|
|
219
219
|
}
|
|
220
220
|
li {
|
|
221
|
+
padding: 0;
|
|
221
222
|
line-height: 1.5rem;
|
|
222
223
|
font-size: 1rem;
|
|
223
224
|
animation: fadeIn 0.01s ease-in; // 防止页面刷新瞬间显示"0 javascript"
|