diff --git a/app/assets/stylesheets/mobi.css.scss b/app/assets/stylesheets/mobi.css.scss index 56b12b2..cff5dbc 100644 --- a/app/assets/stylesheets/mobi.css.scss +++ b/app/assets/stylesheets/mobi.css.scss @@ -1,6 +1,5 @@ /* CSS for Phones only */ -@media only screen -and (max-width: 700px) +@media only screen and (max-width: 700px) { th, td { diff --git a/app/assets/stylesheets/style.css.scss b/app/assets/stylesheets/style.css.scss index fca08be..6c868f8 100644 --- a/app/assets/stylesheets/style.css.scss +++ b/app/assets/stylesheets/style.css.scss @@ -459,17 +459,9 @@ textarea { height: 75px; } - &.full-width { - width: 100%; - } - &.vertical { resize: vertical; } - - &.horizontal { - resize: horizontal; - } } tr.spacer { diff --git a/app/views/blogposts/edit.html.erb b/app/views/blogposts/edit.html.erb index 6b24834..3d8b246 100644 --- a/app/views/blogposts/edit.html.erb +++ b/app/views/blogposts/edit.html.erb @@ -2,7 +2,7 @@ <%= form_for @post do |f|%> <%= f.text_field :title %> <%= render partial: "mdhelp" %> - <%= f.text_area :content, class: "vertical" %> + <%= f.text_area :content%>

<%= f.submit "Update Post", class: "btn blue left" %>

<% end %>

<%= button_to "Delete post", @post, method: "delete", data: {confirm: "Delete post & comments forever?"}, class: "btn red right" %>

diff --git a/app/views/blogposts/new.html.erb b/app/views/blogposts/new.html.erb index 5f8f74a..05e3075 100644 --- a/app/views/blogposts/new.html.erb +++ b/app/views/blogposts/new.html.erb @@ -2,6 +2,6 @@ <%= form_for @post do |f|%> <%= f.text_field :title, placeholder: "Title" %> <%= render partial: "mdhelp" %> - <%= f.text_area :content, placeholder: "Text", input_html: {class: "vertical"} %> + <%= f.text_area :content, placeholder: "Text" %>

<%= f.submit "Create Post", class: "btn blue left" %>

<% end %> diff --git a/app/views/info/edit.html.erb b/app/views/info/edit.html.erb index 18291be..925a8a1 100644 --- a/app/views/info/edit.html.erb +++ b/app/views/info/edit.html.erb @@ -2,7 +2,7 @@ <%= form_for @info do |f|%> <%= f.text_field :title%> <%= render partial: "mdhelp" %> - <%= f.text_area :content, class: "vertical" %> + <%= f.text_area :content %>

<%= f.submit "Update Info", class: "btn blue left" %>

<% end %>

<%= button_to "Delete Info", @info, method: "delete", data: {confirm: "Delete Info forever?"}, class: "btn red right" %>

diff --git a/app/views/info/new.html.erb b/app/views/info/new.html.erb index 011cf1f..3559a3a 100644 --- a/app/views/info/new.html.erb +++ b/app/views/info/new.html.erb @@ -2,6 +2,6 @@ <%= form_for @info, url: info_index_path do |f|%> <%= f.text_field :title, placeholder: "Title" %> <%= render partial: "mdhelp" %> - <%= f.text_area :content, placeholder: "Text", class: "vertical" %> + <%= f.text_area :content, placeholder: "Text" %>

<%= f.submit "Create Info", class: "btn blue left" %>

<% end %> \ No newline at end of file diff --git a/app/views/users/edit.html.erb b/app/views/users/edit.html.erb index 778757e..723aa80 100644 --- a/app/views/users/edit.html.erb +++ b/app/views/users/edit.html.erb @@ -54,7 +54,7 @@ About you <%= render partial: "mdhelp" %> - <%= f.text_area :about, class: "vertical", placeholder: "Tell us something about you...", disabled: !can_edit? %> + <%= f.text_area :about, placeholder: "Tell us something about you...", disabled: !can_edit? %>