Commit da629ae892403730e42088db39d4faeaea87677d
1 parent
65e7a797
check preview content in admin part
Showing
2 changed files
with
2 additions
and
2 deletions
| @@ -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' |