Commit da629ae892403730e42088db39d4faeaea87677d

Authored by Andrey Karpikov
1 parent 65e7a797

check preview content in admin part

... ... @@ -20,7 +20,7 @@ module Kanjai
20 20 if client_view == false and row['attributes']['type'] == 'block'
21 21 html_attributes['data-id'] = row['attributes']['id']
22 22 page_content = page_data.page_contents.where(:structure_id => row['attributes']['id']).first
23   - row_html = '<div class="col-html">' + (page_content.nil? ? '' : wrap_iframe(page_content)) + '</div>'
  23 + row_html = '<div style="width:100%;" class="col-html">' + (page_content.nil? ? '' : wrap_iframe(page_content)) + '</div>'
24 24 end
25 25
26 26 if client_view == false and row['attributes']['type'] == 'row'
... ...
1 1 module Kanjai
2   - VERSION = "0.0.320"
  2 + VERSION = "0.0.321"
3 3 end
... ...