diff --git a/app/app.view.css.ts b/app/app.view.css.ts index aae3669..2f1fdf1 100644 --- a/app/app.view.css.ts +++ b/app/app.view.css.ts @@ -9,6 +9,9 @@ namespace $.$$ { direction: 'column', }, height: '100%', + background: { + color: 'white', + }, }, Start_page: { diff --git a/plot/matrix/matrix.view.ts b/plot/matrix/matrix.view.ts index 55a7637..e32a9a0 100644 --- a/plot/matrix/matrix.view.ts +++ b/plot/matrix/matrix.view.ts @@ -281,7 +281,7 @@ namespace $.$$ { svg.attr('width', this.size() + this.axis_width()) .attr('height', this.size() + this.axis_width()) // .style('font-size', this.range().bandwidth()) // for new d3 version - .style('font-size', this.range().rangeBand()) + .style('font-size', this.range().rangeBand() + 'px') .style('letter-spacing', '1px') const group = svg[ svg.select('g').empty() ? 'append' : 'select' ]('g')