diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2017-06-08 02:46:24 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2017-06-08 02:46:24 +0900 |
| commit | d1393d31eeca602efeb09107ef329ac13ef72387 (patch) | |
| tree | 7d2c1743536d85fb99c60741eff2830476e91ef1 /src | |
| parent | Merge pull request #544 from syuilo/greenkeeper/@types/node-7.0.29 (diff) | |
| download | sharkey-d1393d31eeca602efeb09107ef329ac13ef72387.tar.gz sharkey-d1393d31eeca602efeb09107ef329ac13ef72387.tar.bz2 sharkey-d1393d31eeca602efeb09107ef329ac13ef72387.zip | |
Refactor
Diffstat (limited to 'src')
| -rw-r--r-- | src/web/app/common/tags/activity-table.tag | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/web/app/common/tags/activity-table.tag b/src/web/app/common/tags/activity-table.tag index 42a40ba4c5..6627b8aa0e 100644 --- a/src/web/app/common/tags/activity-table.tag +++ b/src/web/app/common/tags/activity-table.tag @@ -1,8 +1,8 @@ <mk-activity-table> <svg if={ data } ref="canvas" viewBox="0 0 53 7" preserveAspectRatio="none"> - <rect each={ d, i in data } width="0.8" height="0.8" - riot-x={ d.x } riot-y={ d.date.weekday } - fill={ d.color }></rect> + <rect each={ data } width="1" height="1" + riot-x={ x } riot-y={ date.weekday } + fill={ color }></rect> </svg> <style> :scope @@ -14,6 +14,10 @@ > svg display block + > rect + transform-origin center + transform scale(0.9) + </style> <script> this.mixin('api'); |