Commit 1c0978fe by Tom Giannattasio

fixed jump to top bug on edit form cancel button click

parent 63301300
...@@ -170,6 +170,7 @@ if Backbone? ...@@ -170,6 +170,7 @@ if Backbone?
@renderSubView(@showView) @renderSubView(@showView)
cancelEdit: (event) => cancelEdit: (event) =>
event.preventDefault()
@createShowView() @createShowView()
@renderShowView() @renderShowView()
......
...@@ -272,10 +272,14 @@ body.discussion { ...@@ -272,10 +272,14 @@ body.discussion {
.edit-post-form { .edit-post-form {
width: 100%; width: 100%;
margin-bottom: 20px; margin-bottom: 40px;
@include clearfix; @include clearfix;
@include box-sizing(border-box); @include box-sizing(border-box);
h1 {
font-size: 20px;
}
.form-row { .form-row {
margin-top: 20px; margin-top: 20px;
} }
......
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