Skip to content

Commit

Permalink
Merge branch 'master' of github.com:jamierumbelow/revisionhub
Browse files Browse the repository at this point in the history
  • Loading branch information
Max Powers authored and Max Powers committed Nov 13, 2011
2 parents febf0b6 + 46e1c14 commit 0afd095
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions app/assets/stylesheets/home.css.erb
Expand Up @@ -136,3 +136,8 @@ input:focus { outline: none; border: 1px solid #cc4e1a; }

.prompt-active { color: #a1a1a1; font-style: italic; }

.note {
padding: 10px 0;
margin: 5px 0;
border-bottom: 1px solid #CCC;
}
2 changes: 1 addition & 1 deletion app/assets/stylesheets/notes.css.erb
Expand Up @@ -2,4 +2,4 @@
width: 800px;
height: 400px;
margin: 10px auto;
}
}
4 changes: 2 additions & 2 deletions app/views/notes/show.html.erb
Expand Up @@ -5,7 +5,7 @@
<p>Edit away to your heart's content. All your changes are done in real time and saved automatically so there's no need to worry about losing work or over-writing that of others.</p>
<% else %>
<h1 id="notes-heading"><%=@note.title %></h1>
<div id="notepad-not-logged"><%= @pad.text %></div>
<div id="notepad-not-logged"><%= @pad.text.gsub("\n", '<br />').html_safe %></div>
<p>As you're not logged in you can only view the text, not edit it. Sorry.</p>
<% end %>
</div>
</div>

0 comments on commit 0afd095

Please sign in to comment.