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