mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-22 09:57:29 -07:00
[Client] Fix bug
This commit is contained in:
parent
50273157de
commit
67e2d1852e
2 changed files with 4 additions and 3 deletions
|
@ -5,6 +5,7 @@ ChangeLog (Release Notes)
|
|||
unreleased
|
||||
----------
|
||||
* New: 投稿のピン留め (#746)
|
||||
* その他細かな修正
|
||||
|
||||
2508 (2017/08/30)
|
||||
-----------------
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue