[Client] Fix bug
This commit is contained in:
parent
e7415dd42b
commit
52138eb4c3
@ -5,6 +5,7 @@ ChangeLog (Release Notes)
|
|||||||
unreleased
|
unreleased
|
||||||
----------
|
----------
|
||||||
* New: 投稿のピン留め (#746)
|
* New: 投稿のピン留め (#746)
|
||||||
|
* その他細かな修正
|
||||||
|
|
||||||
2508 (2017/08/30)
|
2508 (2017/08/30)
|
||||||
-----------------
|
-----------------
|
||||||
|
@ -2,13 +2,13 @@
|
|||||||
<svg if={ data } ref="canvas" viewBox="0 0 7 1" preserveAspectRatio="none">
|
<svg if={ data } ref="canvas" viewBox="0 0 7 1" preserveAspectRatio="none">
|
||||||
<g each={ d, i in data.reverse() }>
|
<g each={ d, i in data.reverse() }>
|
||||||
<rect width="0.8" riot-height={ d.postsH }
|
<rect width="0.8" riot-height={ d.postsH }
|
||||||
riot-x={ i + 0.1 } y={ 1 - d.postsH - d.repliesH - d.repostsH }
|
riot-x={ i + 0.1 } riot-y={ 1 - d.postsH - d.repliesH - d.repostsH }
|
||||||
fill="#41ddde"/>
|
fill="#41ddde"/>
|
||||||
<rect width="0.8" riot-height={ d.repliesH }
|
<rect width="0.8" riot-height={ d.repliesH }
|
||||||
riot-x={ i + 0.1 } y={ 1 - d.repliesH - d.repostsH }
|
riot-x={ i + 0.1 } riot-y={ 1 - d.repliesH - d.repostsH }
|
||||||
fill="#f7796c"/>
|
fill="#f7796c"/>
|
||||||
<rect width="0.8" riot-height={ d.repostsH }
|
<rect width="0.8" riot-height={ d.repostsH }
|
||||||
riot-x={ i + 0.1 } y={ 1 - d.repostsH }
|
riot-x={ i + 0.1 } riot-y={ 1 - d.repostsH }
|
||||||
fill="#a1de41"/>
|
fill="#a1de41"/>
|
||||||
</g>
|
</g>
|
||||||
</svg>
|
</svg>
|
||||||
|
Loading…
Reference in New Issue
Block a user