公共贴吧中使用新编辑器上传大图片,图片超出界面
This commit is contained in:
parent
400d1a147d
commit
600003e48c
|
@ -16,7 +16,7 @@
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td style="word-break: break-all;word-wrap: break-word;">
|
<td style="word-break: break-all;word-wrap: break-word;" class="upload_img">
|
||||||
<p>
|
<p>
|
||||||
<%= textAreailizable forum.description%>
|
<%= textAreailizable forum.description%>
|
||||||
</p>
|
</p>
|
||||||
|
|
|
@ -53,7 +53,7 @@
|
||||||
<div class="sidebar-forums">
|
<div class="sidebar-forums">
|
||||||
<div class="forums-line">
|
<div class="forums-line">
|
||||||
<div class="forums-title"><%= @forum.name %></div>
|
<div class="forums-title"><%= @forum.name %></div>
|
||||||
<div class="forums-description"><%= @forum.description.html_safe %></div>
|
<div class="forums-description upload_img"><%= @forum.description.html_safe %></div>
|
||||||
</div>
|
</div>
|
||||||
<!--informations-->
|
<!--informations-->
|
||||||
<div class="formus-first-title" >创建人信息</div>
|
<div class="formus-first-title" >创建人信息</div>
|
||||||
|
|
|
@ -84,7 +84,7 @@
|
||||||
<div class="sidebar-forums">
|
<div class="sidebar-forums">
|
||||||
<div class="forums-line">
|
<div class="forums-line">
|
||||||
<div class="forums-title"><%= @forum.name %></div>
|
<div class="forums-title"><%= @forum.name %></div>
|
||||||
<div class="forums-description"><%= @forum.description.html_safe %></div>
|
<div class="forums-description upload_img"><%= @forum.description.html_safe %></div>
|
||||||
</div>
|
</div>
|
||||||
<!--informations-->
|
<!--informations-->
|
||||||
<div class="formus-first-title" >创建人信息</div>
|
<div class="formus-first-title" >创建人信息</div>
|
||||||
|
|
|
@ -8,6 +8,9 @@ h3, .wiki h2 {font-size: 15px; padding-left: 5px}
|
||||||
h4, .wiki h3 {font-size: 13px;}
|
h4, .wiki h3 {font-size: 13px;}
|
||||||
h4 {border-bottom: 1px dotted #bbb;}
|
h4 {border-bottom: 1px dotted #bbb;}
|
||||||
|
|
||||||
|
/*上传图片处理*/
|
||||||
|
.upload_img img{max-width: 100%;}
|
||||||
|
|
||||||
/****翻页***/
|
/****翻页***/
|
||||||
ul.wlist{ float:right; border-bottom:none; height:30px; margin-top:20px; }
|
ul.wlist{ float:right; border-bottom:none; height:30px; margin-top:20px; }
|
||||||
ul.wlist li{float: left;}
|
ul.wlist li{float: left;}
|
||||||
|
|
|
@ -750,9 +750,9 @@ div.actions input[type="text"] {
|
||||||
.memo-content img, .comments img {
|
.memo-content img, .comments img {
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
/*width: 100%;*/
|
/*width: 100%;*/
|
||||||
max-width: 500px;
|
max-width: 100%;
|
||||||
height: auto !important;
|
height: auto !important;
|
||||||
width: expression(this.width > 500 ? "500px" : this.width+"px");
|
/*width: expression(this.width > 500 ? "500px" : this.width+"px");*/
|
||||||
}
|
}
|
||||||
|
|
||||||
table.content-text-list tbody tr td.sticky, div.memo-section .sticky {
|
table.content-text-list tbody tr td.sticky, div.memo-section .sticky {
|
||||||
|
|
Loading…
Reference in New Issue