1
0
mirror of https://github.com/misskey-dev/misskey synced 2024-11-28 23:09:16 +09:00

[Client] Fix bug

This commit is contained in:
syuilo 2017-08-30 17:32:03 +09:00
parent e7415dd42b
commit 52138eb4c3
2 changed files with 4 additions and 3 deletions

View File

@ -5,6 +5,7 @@ ChangeLog (Release Notes)
unreleased
----------
* New: 投稿のピン留め (#746)
* その他細かな修正
2508 (2017/08/30)
-----------------

View File

@ -2,13 +2,13 @@
<svg if={ data } ref="canvas" viewBox="0 0 7 1" preserveAspectRatio="none">
<g each={ d, i in data.reverse() }>
<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"/>
<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"/>
<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"/>
</g>
</svg>