diff --git a/app/assets/javascripts/app/forms/post_form.js b/app/assets/javascripts/app/forms/post_form.js index d5a3ff84b..0d454847f 100644 --- a/app/assets/javascripts/app/forms/post_form.js +++ b/app/assets/javascripts/app/forms/post_form.js @@ -13,5 +13,6 @@ app.forms.Post = app.views.Base.extend({ postRenderTemplate : function() { Mentions.initialize(this.$("textarea.text")); Mentions.fetchContacts(); //mentions should use app.currentUser + this.$('textarea').autoResize({minHeight: '200', maxHeight:'300', animate: false}); } }); \ No newline at end of file diff --git a/app/assets/stylesheets/new_styles/_base.scss b/app/assets/stylesheets/new_styles/_base.scss index a16cf9e5f..c31231b60 100644 --- a/app/assets/stylesheets/new_styles/_base.scss +++ b/app/assets/stylesheets/new_styles/_base.scss @@ -352,10 +352,7 @@ div[data-template=flow] { } .post-form { - margin-top: 10%; - .container{ - margin: 0 50px; - } + margin-top: 2%; } .flow-controls { diff --git a/app/assets/stylesheets/new_styles/_composer.scss b/app/assets/stylesheets/new_styles/_composer.scss index 6c3a859d3..b60fe02ab 100644 --- a/app/assets/stylesheets/new_styles/_composer.scss +++ b/app/assets/stylesheets/new_styles/_composer.scss @@ -1,5 +1,33 @@ .new_photo .photo{ display: inline; max-width: 200px; - max-height: 200px; + max-height: 75px; + padding: 2px; } + +.new_picture{ + margin-top: 4%; +} + +#photo_upload_button { + position: relative; + margin-top: 9px; + + input{ + opacity: 0; + position: absolute; + top: 0; + left: 0; + height:100%; + } + + + +} +.photos{ + margin-top: 5px; +} + +textarea#post_text{ + height: 200px; +} \ No newline at end of file diff --git a/app/assets/templates/picture-form.jst.hbs b/app/assets/templates/picture-form.jst.hbs index e260fab35..0b8ee09a9 100644 --- a/app/assets/templates/picture-form.jst.hbs +++ b/app/assets/templates/picture-form.jst.hbs @@ -3,9 +3,10 @@
- - -
+
+ Add Photos + +
+
+ diff --git a/app/assets/templates/post-form.jst.hbs b/app/assets/templates/post-form.jst.hbs index e81381e6a..48da9a6eb 100644 --- a/app/assets/templates/post-form.jst.hbs +++ b/app/assets/templates/post-form.jst.hbs @@ -1,17 +1,19 @@
-
-
-
- - New Post - -