added title focus on new post; tweaked tag input styles
This commit is contained in:
@@ -268,6 +268,7 @@ function setTopic(e) {
|
||||
|
||||
function newPost(e) {
|
||||
$newPost.slideDown(300);
|
||||
$('.new-post-title').focus();
|
||||
}
|
||||
|
||||
function closeNewPost(e) {
|
||||
|
||||
@@ -393,6 +393,22 @@ body.discussion {
|
||||
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3) inset;
|
||||
}
|
||||
|
||||
.tagsinput {
|
||||
padding: 10px;
|
||||
box-sizing: border-box;
|
||||
border: 1px solid #333;
|
||||
border-radius: 3px;
|
||||
background: #fff;
|
||||
font-family: 'Monaco', monospace;
|
||||
font-size: 13px;
|
||||
line-height: 1.6;
|
||||
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3) inset;
|
||||
|
||||
span.tag {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.new-post-body .wmd-preview {
|
||||
@include discussion-wmd-preview;
|
||||
position: relative;
|
||||
|
||||
Reference in New Issue
Block a user