Commit 8529ef35 by Tom Giannattasio

added title focus on new post; tweaked tag input styles

parent 2b5718a9
...@@ -268,6 +268,7 @@ function setTopic(e) { ...@@ -268,6 +268,7 @@ function setTopic(e) {
function newPost(e) { function newPost(e) {
$newPost.slideDown(300); $newPost.slideDown(300);
$('.new-post-title').focus();
} }
function closeNewPost(e) { function closeNewPost(e) {
......
...@@ -393,6 +393,22 @@ body.discussion { ...@@ -393,6 +393,22 @@ body.discussion {
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3) inset; 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 { .new-post-body .wmd-preview {
@include discussion-wmd-preview; @include discussion-wmd-preview;
position: relative; position: relative;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment