skeuocard icon indicating copy to clipboard operation
skeuocard copied to clipboard

Make _conformDOM work with nested elements

Open mhluska opened this issue 10 years ago • 1 comments

I was having trouble using this with Bootstrap since Bootstrap relies on nested form elements. This fixes it.

mhluska avatar Dec 06 '14 16:12 mhluska

On a side note I had a hell of a time getting this to play nice with Rails. I had to patch the compiled CSS like so:

SKEUOCARD_PATH='./vendor/assets/components/skeuocard/styles/skeuocard.css'

perl -pe 's,url\("\.\./(.*?)"\),url("''<%= asset_path "skeuocard/\1" %>''"),g' ${SKEUOCARD_PATH} > ${SKEUOCARD_PATH}.erb
rm ${SKEUOCARD_PATH}

The skeuocard-rails gem seems outdated.

mhluska avatar Dec 06 '14 17:12 mhluska