From a49df58114fa58bf3bbdc2bfffac0d68115b5381 Mon Sep 17 00:00:00 2001 From: fen Date: Mon, 21 Oct 2013 12:15:04 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8B=96=E5=8A=A8=E8=B0=83=E6=95=B4=E5=A4=A7?= =?UTF-8?q?=E5=B0=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- admin/css/style.css | 13 +++++++++++++ admin/scss/style.scss | 14 ++++++++++++++ admin/write-post.php | 1 + 3 files changed, 28 insertions(+) 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);

+