Gitlab is now using https://gitlab.lcsb.uni.lu as it's primary address. Please update your bookmarks. FAQ.

Commit 4f1bf7ce authored by Sascha Herzinger's avatar Sascha Herzinger
Browse files

increased padding for col labels

parent 9725b6d4
Pipeline #7790 failed with stages
in 24 seconds
......@@ -197,7 +197,7 @@ export default class extends Chart {
this.update({});
})
.merge(colLabels)
.style('font-size', `${this.xScale.bandwidth() > 20 ? 20 : this.xScale.bandwidth()}px`)
.style('font-size', `${(this.xScale.bandwidth() > 20 ? 20 : this.xScale.bandwidth()) - 1}px`)
.each((_, i, arr) => wrap(arr[i], this.margin.top));
colLabels
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment