app/views/layouts/error.html.erb in exception_handler-0.3.5 vs app/views/layouts/error.html.erb in exception_handler-0.3.25
- old
+ new
@@ -1,11 +1,13 @@
<!DOCTYPE html>
<html>
<head>
<!--Info -->
- <title><%= "Error :: #{@app_name}" %></title>
+ <title>
+ Error
+ </title>
<!--Styling -->
<style>
html {
@@ -27,14 +29,19 @@
.error_container .error {
display: block;
text-align: center;
}
- .error_container .error img.alert {
+ .error_container .error .alert {
display: block;
margin: 0 auto 25px auto;
}
+
+ .error_container .error .alert img {
+ display: block;
+ margin: 0 auto;
+ }
.error_container .message > * {
display: block;
}
@@ -60,15 +67,9 @@
.error_container .contact a {
display: inline-block;
margin: 0 -1px; /* For inline block & ERB - HAML removes whitespace; ERB does now - http://haml.info/docs/yardoc/file.REFERENCE.html#whitespace_removal__and_ */
opacity: 0.4;
transition: opacity 0.15s ease;
- }
-
- .error_container .contact a img {
- display: block;
- width: 38px;
- height: 38px;
}
.error_container .contact a:hover {
opacity: 0.8;
}
\ No newline at end of file