diff --git a/admin/css/style.css b/admin/css/style.css index ed2b45ec..b927d720 100644 --- a/admin/css/style.css +++ b/admin/css/style.css @@ -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; diff --git a/admin/scss/style.scss b/admin/scss/style.scss index 53dac9ea..c1c85775 100644 --- a/admin/scss/style.scss +++ b/admin/scss/style.scss @@ -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 { diff --git a/admin/write-post.php b/admin/write-post.php index f2bbdcb6..0b2bc496 100644 --- a/admin/write-post.php +++ b/admin/write-post.php @@ -34,6 +34,7 @@ Typecho_Widget::widget('Widget_Contents_Post_Edit')->to($post);

+