This article is a mirror article of machine translation, please click here to jump to the original article.

View: 12463|Reply: 0

gitbook-plugin-timeline timeline bug fix

[Copy link]
Posted on 12/6/2018 2:37:53 PM | | | |
gitbook has installed a timeline plugin, according to the example code as follows:

I found that the day of the first node of the first timeline will not have any distance from the date below,

Discover that there will be a calss element of "timeline-plugin-first" on top of the node.





If you delete this style, there will be a new problem, the timeline segment cannot be connected to the dots, as follows:



The right solution

Find the stylesheet of the plugin "\node_modules\gitbook-plugin-timeline\assets\timeline.css" and add the following style:

Perfectly solved, as follows:






Previous:Compatibility HTML meta tags
Next:Run node hint :events.js: 160 throw er; // Unhandled 'error' event
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com