Skip to content
This repository has been archived by the owner on Dec 28, 2021. It is now read-only.

Commit

Permalink
Fix offsets
Browse files Browse the repository at this point in the history
  • Loading branch information
radeusgd committed Mar 24, 2021
1 parent 9849cd7 commit 05b2eb2
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ class SqlVisualization extends Visualization {
scrollable.setAttributeNS(null, 'viewBox', '0 0 ' + width + ' ' + height)
scrollable.setAttributeNS(null, 'width', '100%')
scrollable.setAttributeNS(null, 'height', '100%')
const viewStyle = `width: ${width - 10}px;
height: ${height - 10}px;
const viewStyle = `width: ${width - 5}px;
height: ${height - 5}px;
overflow: scroll;
padding:2.5px;`
scrollable.setAttributeNS(null, 'style', viewStyle)
Expand Down Expand Up @@ -361,6 +361,7 @@ const visualizationStyle = `
font-family: DejaVuSansMonoBook, sans-serif;
font-size: 12px;
margin-left: 7px;
margin-top: 5px;
}
.interpolation {
border-radius: 6px;
Expand Down

0 comments on commit 05b2eb2

Please sign in to comment.