Permalink
Browse files

Fading alerts.

  • Loading branch information...
1 parent 7b09c23 commit fe63652189ff89bca415cb70a0a6538a0c757fdb @balvig committed with Jens Balvig Nov 13, 2011
Showing with 2 additions and 2 deletions.
  1. +1 −1 app/assets/stylesheets/authors.css.scss
  2. +1 −1 app/views/layouts/application.html.erb
View
2 app/assets/stylesheets/authors.css.scss
@@ -14,7 +14,6 @@
background:#FFF;
padding:1px;
}
- div { width:220px; }
h4 {
line-height:16px;
margin:3px 0px 4px;
@@ -31,6 +30,7 @@
margin: 0 7px 7px 0;
width:280px;
&:hover { background:#DDD; }
+ div { width:220px; }
}
a { text-decoration:none; }
}
View
2 app/views/layouts/application.html.erb
@@ -39,7 +39,7 @@
<% end %>
<% flash.each do |key, value|%>
- <div class="alert-message <%= key %>" data-alert='alert'>
+ <div class="alert-message <%= key %> fade in" data-alert='alert'>
<a class="close" href="#">×</a>
<p><%= value %></p>
</div>

0 comments on commit fe63652

Please sign in to comment.