Commit da629ae892403730e42088db39d4faeaea87677d

Authored by Andrey Karpikov
1 parent 65e7a797

check preview content in admin part

@@ -20,7 +20,7 @@ module Kanjai @@ -20,7 +20,7 @@ module Kanjai
20 if client_view == false and row['attributes']['type'] == 'block' 20 if client_view == false and row['attributes']['type'] == 'block'
21 html_attributes['data-id'] = row['attributes']['id'] 21 html_attributes['data-id'] = row['attributes']['id']
22 page_content = page_data.page_contents.where(:structure_id => row['attributes']['id']).first 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 end 24 end
25 25
26 if client_view == false and row['attributes']['type'] == 'row' 26 if client_view == false and row['attributes']['type'] == 'row'
1 module Kanjai 1 module Kanjai
2 - VERSION = "0.0.320" 2 + VERSION = "0.0.321"
3 end 3 end