增加 resize 按钮高度

This commit is contained in:
fen 2013-10-21 12:20:04 +08:00
parent a49df58114
commit 6f9c585fcc
4 changed files with 13 additions and 3 deletions

View File

@ -966,11 +966,15 @@ a.operate-reply {
.resize {
display: block;
margin: 2px auto 0;
padding: 2px 0;
border: 1px solid #D9D9D6;
border-width: 1px 0;
width: 60px;
height: 2px;
cursor: row-resize; }
.resize i {
display: block;
height: 1px;
background-color: #D9D9D6; }
/* 拖动排序 */
.tDnD_whileDrag {

View File

@ -761,11 +761,16 @@ background: #FFF1A8;
.resize {
display: block;
margin: 2px auto 0;
padding: 2px 0;
border: 1px solid #D9D9D6;
border-width: 1px 0;
width: 60px;
height: 2px;
cursor: row-resize;
i {
display: block;
height: 1px;
background-color: #D9D9D6;
}
}
/* 拖动排序 */

View File

@ -29,6 +29,7 @@ Typecho_Widget::widget('Widget_Contents_Page_Edit')->to($page);
<p class="mono url-slug"><?php echo preg_replace("/\{slug\}/i", $input, $permalink); ?></p>
<p>
<textarea style="height: <?php $options->editorSize(); ?>px" autocomplete="off" id="text" name="text" class="w-100 mono"><?php echo htmlspecialchars($page->text); ?></textarea>
<span class="resize"><i></i></span>
</p>
<?php include 'file-upload.php'; ?>

View File

@ -34,7 +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>
<span class="resize"><i></i></span>
</p>
<?php include 'file-upload.php'; ?>