Prechádzať zdrojové kódy

Make the avatar's dimensions settable

JC Brand 8 rokov pred
rodič
commit
19d51f559d
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      src/templates/avatar.html

+ 1 - 1
src/templates/avatar.html

@@ -1 +1 @@
-<canvas height="32px" width="32px" class="avatar"></canvas>
+<canvas height="{{height}}px" width="{{width}}px" class="avatar"></canvas>