Fork me on GitHub
#hoplon
<
2019-06-23
>
ro623:06:17

<div style="font-size: 20.3951px; width: 33px; border-width: 3px; height: 53.3951px;">5</div>
Is an example of the dom I'm getting back. Only a few of the :css props are getting applied. Am I misusing :css? I followed https://github.com/hoplon/hoplon/wiki/HTML-Attributes-and-JS-Events#user-content-the-do-multimethod

flyboarder23:06:29

@robert.mather.rmm keywords are not valid css values

flyboarder23:06:53

where numbers are valid values

flyboarder23:06:16

I recommend strings, or a custom attribute that converts the values to js

flyboarder23:06:51

converting clj->js values might be something we want to implement for default attributes??

flyboarder23:06:03

feel free to open a github issue

ro623:06:18

@flyboarder Thanks, that fixed it. I ported from Fulcro where that was working. I think they call

(name :kw)
as things pass through.

ro623:06:08

Nevermind, it is (clj->js) that's doing it I think