mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-27 18:43:09 +02:00
Fix rendering glitch
This commit is contained in:
parent
d73f958ab2
commit
b9dd2be673
1 changed files with 3 additions and 3 deletions
|
@ -97,11 +97,11 @@
|
||||||
<title>{ date.year }/{ date.month }/{ date.day }<br/>Post: { posts }, Reply: { replies }, Repost: { reposts }</title>
|
<title>{ date.year }/{ date.month }/{ date.day }<br/>Post: { posts }, Reply: { replies }, Repost: { reposts }</title>
|
||||||
</rect>
|
</rect>
|
||||||
<rect each={ data }
|
<rect each={ data }
|
||||||
width="1" height="1"
|
riot-width={ v } riot-height={ v }
|
||||||
riot-x={ x } riot-y={ date.weekday }
|
riot-x={ x + ((1 - v) / 2) } riot-y={ date.weekday + ((1 - v) / 2) }
|
||||||
rx="1" ry="1"
|
rx="1" ry="1"
|
||||||
fill={ color }
|
fill={ color }
|
||||||
style="pointer-events: none; transform: scale({ v });"/>
|
style="pointer-events: none;"/>
|
||||||
<rect class="today"
|
<rect class="today"
|
||||||
width="1" height="1"
|
width="1" height="1"
|
||||||
riot-x={ data[data.length - 1].x } riot-y={ data[data.length - 1].date.weekday }
|
riot-x={ data[data.length - 1].x } riot-y={ data[data.length - 1].date.weekday }
|
||||||
|
|
Loading…
Reference in a new issue