mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-21 08:19:43 +02:00
Style fix for topAxis and added integration test
This commit is contained in:
@@ -616,7 +616,7 @@ const config = {
|
||||
*| --- | --- | --- | --- | --- |
|
||||
*| topAxis | See notes | Boolean | 4 | True, False |
|
||||
*
|
||||
***Notes:**when this flag is set date labels will be added to the
|
||||
***Notes:** when this flag is set date labels will be added to the
|
||||
top of the chart
|
||||
*
|
||||
***Default value false**.
|
||||
|
@@ -377,8 +377,8 @@ export const draw = function(text, id) {
|
||||
.style('text-anchor', 'middle')
|
||||
.attr('fill', '#000')
|
||||
.attr('stroke', 'none')
|
||||
.attr('font-size', 10)
|
||||
.attr('dy', '1em');
|
||||
.attr('font-size', 10);
|
||||
// .attr('dy', '1em');
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user