Skip to content

Commit

Permalink
Change colWidth to avoid collisions
Browse files Browse the repository at this point in the history
  • Loading branch information
boogeroccam committed Feb 14, 2024
1 parent 1aebbfe commit ceb7ddc
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion internal/svg/svg.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (

const (
rowHeight = 25
colWidth = 11
colWidth = 12
padding = 20
headerSize = 3
)
Expand Down
16 changes: 8 additions & 8 deletions internal/svg/testdata/TestExportOutput.golden
Original file line number Diff line number Diff line change
@@ -1,32 +1,32 @@
<?xml version="1.0"?>
<!-- Generated by SVGo -->
<svg width="2383" height="1510"
<svg width="2596" height="1510"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink">
<rect x="0" y="0" width="2383" height="1510" rx="5" ry="5" style="fill:#282d35" />
<rect x="0" y="0" width="2596" height="1510" rx="5" ry="5" style="fill:#282d35" />
<circle cx="20" cy="20" r="7" style="fill:#ff5f58" />
<circle cx="43" cy="20" r="7" style="fill:#ffbd2e" />
<circle cx="66" cy="20" r="7" style="fill:#18c132" />
<g transform="translate(20,60)" >
<g style="animation-duration:3.35s;animation-iteration-count:infinite;animation-name:k;animation-timing-function:steps(1,end);font-family:Monaco,Consolas,Menlo,'Bitstream Vera Sans Mono','Powerline Symbols',monospace;font-size:20px">
<style type="text/css">
<![CDATA[
@keyframes k {79.807%{transform:translateX(-0px)}82.298%{transform:translateX(-2383px)}87.777%{transform:translateX(-4766px)}92.767%{transform:translateX(-7149px)}100.000%{transform:translateX(-9532px)}}.a{fill:#e5e5e5}
@keyframes k {79.807%{transform:translateX(-0px)}82.298%{transform:translateX(-2596px)}87.777%{transform:translateX(-5192px)}92.767%{transform:translateX(-7788px)}100.000%{transform:translateX(-10384px)}}.a{fill:#e5e5e5}
]]>
</style>
<g transform="translate(20,60)" >
<g transform="translate(0)">
<text x="0" y="0" class="a" >h</text>
</g>
<g transform="translate(2383)">
<g transform="translate(2596)">
<text x="0" y="0" class="a" >he</text>
</g>
<g transform="translate(4766)">
<g transform="translate(5192)">
<text x="0" y="0" class="a" >hel</text>
</g>
<g transform="translate(7149)">
<g transform="translate(7788)">
<text x="0" y="0" class="a" >hell</text>
</g>
<g transform="translate(9532)">
<g transform="translate(10384)">
<text x="0" y="0" class="a" >hello</text>
</g>
</g>
Expand Down

0 comments on commit ceb7ddc

Please sign in to comment.