These are chat archives for ractivejs/ractive

14th
Jul 2018
KnightSwordAG
@KnightSwordAG
Jul 14 2018 02:42
Hi all.
Chris Reeves
@evs-chris
Jul 14 2018 02:43
👋
KnightSwordAG
@KnightSwordAG
Jul 14 2018 02:44
I have a bit of a quandry, and I am wondering if I can get some help.
I have this:
<div class="corkboard-card js-place-card p-3 rounded box-shadow" style-left="{{ left }}" style-top="{{ top }}" data-id="{{id}}">
For some reason, when this renders, the styles don't get added.
Chris Reeves
@evs-chris
Jul 14 2018 02:45
do you have a unit on left and top? may need to add px after the mustache
KnightSwordAG
@KnightSwordAG
Jul 14 2018 02:45
OMG, seriously???
I've been wracking my brains on this for hours. >.<
Chris Reeves
@evs-chris
Jul 14 2018 02:47
😁
KnightSwordAG
@KnightSwordAG
Jul 14 2018 02:47
Testing it now.
It's a little off, but yes, that was it. :)
My front end on this is a frankenstein's monster of jquery and ractive. >.>
I make front end developers weep I'm sure. :)
Thank you Chris.
Chris Reeves
@evs-chris
Jul 14 2018 02:50
good luck 😀
KnightSwordAG
@KnightSwordAG
Jul 14 2018 02:50
and you. :)