wiki新建,显示页面宽度调整

This commit is contained in:
Tim 2016-09-28 11:01:30 +08:00
parent 86b03542c8
commit 30c3ce86d5
2 changed files with 10 additions and 4 deletions

View File

@ -1,7 +1,7 @@
<%= wiki_page_breadcrumb(@page) %>
<script src="http://<%= Setting.host_name%>/javascripts/ckeditor/ckeditor.js?1404953555" type="text/javascript"></script>
<div class="project_r_h">
<div class="project_r_h" style="width:730px;">
<h2 class="project_h2">Wiki</h2>
</div>
<!--<h3 style="word-break: break-all;word-wrap: break-word;">-->
@ -21,8 +21,8 @@
<div class="wiki_new">
<div class="actions" style="max-width:680px">
<p style="max-width:680px;">
<div class="actions" style="max-width:730px">
<p style="max-width:730px;">
<%=text_area_tag 'content[text]', @text, :required => true, :id => 'editor02', :cols => 100, :rows => 25 %>
</p>
<script type="text/javascript">
@ -66,3 +66,7 @@
<%= robot_exclusion_tag %>
<% end %>
<% html_title @page.pretty_title %>
<script>
$("#RSide").css("width","730px");
</script>

View File

@ -1,4 +1,4 @@
<div class="project_r_h" xmlns="http://www.w3.org/1999/html">
<div class="project_r_h" xmlns="http://www.w3.org/1999/html" style="width:730px;">
<h2 class="project_h2">Wiki</h2>
</div>
<div class="wiki_page">
@ -94,5 +94,7 @@
}
});
};
$("#RSide").css("width","730px");
</script>
</div>