Permalink
Browse files

Merge pull request #11 from hellerbarde/master

fixing the line height in the post title edit form and fixing the css for the little markdown icon.
  • Loading branch information...
2 parents 722776b + 4b65387 commit a40a3d6cb766a5024cf578d0a4de3a1c123861ca orf committed Apr 9, 2012
Showing with 8 additions and 7 deletions.
  1. +7 −6 static/css/posts.css
  2. +1 −1 static/js/functions.js
View
@@ -143,14 +143,15 @@ fieldset.markdown {
position: absolute;
top: 4px;
left: -60px;
- background: url(/assets/markdown.png) no-repeat top left; }
+ background: url(../markdown.png) no-repeat top left; }
#post_title {
width: 100%;
border: none;
background: none;
line-height: 45px;
- margin: 0 0 20px 0; }
+ margin: 0 0 20px 0 !important;
+ height: auto !important; }
#post_content {
border: none;
@@ -340,16 +341,16 @@ label {
box-sizing: border-box;
width: 100%;
/* This height is used when JS is disabled */
- height: 100px; }
+ height: 100px;
+ /* Remove WebKit user-resize widget */
+ resize: none; }
#admin .expandingArea.active > textarea {
/* Hide any scrollbars */
overflow: hidden;
position: absolute;
top: 0;
left: 0;
- height: 100%;
- /* Remove WebKit user-resize widget */
- resize: none; }
+ height: 100%; }
#admin .expandingArea > pre {
display: none; }
#admin .expandingArea.active > pre {
View
@@ -1,7 +1,7 @@
// 100% stolen from yiransheng/simple
$.fn.autogrow = function(options) {
- this.filter('textarea').each(function() {
+ this.filter('textarea :not(#post_title)').each(function() {
var $this = $(this),
minHeight = $this.height(),

0 comments on commit a40a3d6

Please sign in to comment.