mirror of
https://github.com/typecho/typecho.git
synced 2025-04-07 19:52:40 +02:00
拖动调整大小
This commit is contained in:
parent
623cd31d7c
commit
a49df58114
@ -851,6 +851,9 @@ a.operate-reply {
|
||||
background: #FFFBCC;
|
||||
color: #666; }
|
||||
|
||||
.typecho-post-area textarea {
|
||||
resize: none; }
|
||||
|
||||
.typecho-post-area #advance-panel-btn {
|
||||
color: #999; }
|
||||
|
||||
@ -959,6 +962,16 @@ a.operate-reply {
|
||||
.edit-media button {
|
||||
margin-right: 6px; }
|
||||
|
||||
/* 拖动调整 textarea 大小 */
|
||||
.resize {
|
||||
display: block;
|
||||
margin: 2px auto 0;
|
||||
border: 1px solid #D9D9D6;
|
||||
border-width: 1px 0;
|
||||
width: 60px;
|
||||
height: 2px;
|
||||
cursor: row-resize; }
|
||||
|
||||
/* 拖动排序 */
|
||||
.tDnD_whileDrag {
|
||||
background-color: #FFFBCC;
|
||||
|
@ -639,6 +639,10 @@ a.operate-reply {
|
||||
color: #666;
|
||||
}
|
||||
|
||||
.typecho-post-area textarea {
|
||||
resize: none;
|
||||
}
|
||||
|
||||
.typecho-post-area #advance-panel-btn {
|
||||
color: #999;
|
||||
}
|
||||
@ -753,6 +757,16 @@ background: #FFF1A8;
|
||||
*/
|
||||
.edit-media button { margin-right: 6px; }
|
||||
|
||||
/* 拖动调整 textarea 大小 */
|
||||
.resize {
|
||||
display: block;
|
||||
margin: 2px auto 0;
|
||||
border: 1px solid #D9D9D6;
|
||||
border-width: 1px 0;
|
||||
width: 60px;
|
||||
height: 2px;
|
||||
cursor: row-resize;
|
||||
}
|
||||
|
||||
/* 拖动排序 */
|
||||
.tDnD_whileDrag {
|
||||
|
@ -34,6 +34,7 @@ Typecho_Widget::widget('Widget_Contents_Post_Edit')->to($post);
|
||||
|
||||
<p>
|
||||
<textarea style="height: <?php $options->editorSize(); ?>px" autocomplete="off" id="text" name="text" class="w-100 mono"><?php echo htmlspecialchars($post->text); ?></textarea>
|
||||
<span class="resize"></span>
|
||||
</p>
|
||||
|
||||
<?php include 'file-upload.php'; ?>
|
||||
|
Loading…
x
Reference in New Issue
Block a user