Skip to content

Commit

Permalink
Merge pull request #3 from i2bc/dotplot_canvas
Browse files Browse the repository at this point in the history
Better dotplot fit
  • Loading branch information
MatthieuBarba authored Mar 25, 2024
2 parents 054ecc9 + 11d1d1d commit 9d95a69
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions css/dotplot.css
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ form {
#rightcol {
position: absolute;
margin-left:calc(30% - 205px);
width: calc(79% - 205px);
height: 92%;
width: calc(68%);
height: calc(95% - 4em);
}

#start1, #end1 {
Expand Down
2 changes: 1 addition & 1 deletion js/dotplot.js
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ function draw_plot() {
.attr("class", "x label")
.attr("text-anchor", "middle")
.attr("x", (win_width - margin.left - margin.right) / 2 + margin.left)
.attr("y", win_height)
.attr("y", win_height - 4)
.text( cached_genomes.genomes[ get_par( 'sp1' ) ].name );
texts.append("text")
.attr("class", "y label")
Expand Down

0 comments on commit 9d95a69

Please sign in to comment.