mirror of
https://github.com/typecho/typecho.git
synced 2025-03-22 10:59:41 +01:00
样式微调,预览高度修复
This commit is contained in:
parent
5692ff5cb1
commit
95090003ee
@ -1200,12 +1200,13 @@ a.operate-reply {
|
||||
|
||||
.wmd-edittab {
|
||||
float: right;
|
||||
margin-top: 5px;
|
||||
margin-top: 3px;
|
||||
font-size: .92857em; }
|
||||
.wmd-edittab a {
|
||||
display: inline-block;
|
||||
padding: 0 10px;
|
||||
padding: 0 8px;
|
||||
margin-left: 5px;
|
||||
height: 20px;
|
||||
line-height: 20px; }
|
||||
.wmd-edittab a:hover {
|
||||
text-decoration: none; }
|
||||
|
@ -211,7 +211,7 @@ $(document).ready(function () {
|
||||
selected_el = $(selected_tab).removeClass("wmd-hidetab");
|
||||
|
||||
// 预览和编辑窗口高度一致
|
||||
$("#wmd-preview").height($("#text").innerHeight());
|
||||
$("#wmd-preview").outerHeight($("#wmd-editarea").innerHeight());
|
||||
|
||||
return false;
|
||||
});
|
||||
|
@ -42,12 +42,13 @@
|
||||
// 撰写预览切换 tab
|
||||
.wmd-edittab {
|
||||
float: right;
|
||||
margin-top: 5px;
|
||||
margin-top: 3px;
|
||||
font-size: .92857em;
|
||||
a {
|
||||
display: inline-block;
|
||||
padding: 0 10px;
|
||||
padding: 0 8px;
|
||||
margin-left: 5px;
|
||||
height: 20px;
|
||||
line-height: 20px;
|
||||
&:hover {
|
||||
text-decoration: none;
|
||||
|
Loading…
x
Reference in New Issue
Block a user