summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2017-11-15 09:32:04 +0900
committersyuilo <syuilotan@yahoo.co.jp>2017-11-15 09:32:04 +0900
commitb9dd2be6730aaca4fbe5b97333167c01e01d7eb8 (patch)
tree49b06fb8375105badd12877eda264c0f568ec9d2 /src
parentv3110 (diff)
downloadsharkey-b9dd2be6730aaca4fbe5b97333167c01e01d7eb8.tar.gz
sharkey-b9dd2be6730aaca4fbe5b97333167c01e01d7eb8.tar.bz2
sharkey-b9dd2be6730aaca4fbe5b97333167c01e01d7eb8.zip
Fix rendering glitch
Diffstat (limited to 'src')
-rw-r--r--src/web/app/desktop/tags/widgets/activity.tag6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/web/app/desktop/tags/widgets/activity.tag b/src/web/app/desktop/tags/widgets/activity.tag
index b3e3bc5d1e..baf385fe92 100644
--- a/src/web/app/desktop/tags/widgets/activity.tag
+++ b/src/web/app/desktop/tags/widgets/activity.tag
@@ -97,11 +97,11 @@
<title>{ date.year }/{ date.month }/{ date.day }<br/>Post: { posts }, Reply: { replies }, Repost: { reposts }</title>
</rect>
<rect each={ data }
- width="1" height="1"
- riot-x={ x } riot-y={ date.weekday }
+ riot-width={ v } riot-height={ v }
+ riot-x={ x + ((1 - v) / 2) } riot-y={ date.weekday + ((1 - v) / 2) }
rx="1" ry="1"
fill={ color }
- style="pointer-events: none; transform: scale({ v });"/>
+ style="pointer-events: none;"/>
<rect class="today"
width="1" height="1"
riot-x={ data[data.length - 1].x } riot-y={ data[data.length - 1].date.weekday }