Skip to content
This repository has been archived by the owner on Jan 25, 2022. It is now read-only.

Commit

Permalink
アラートのデザイン調節
Browse files Browse the repository at this point in the history
  • Loading branch information
YOSHIDA Hiroki committed Jan 12, 2014
1 parent e9adb22 commit 2279d45
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
6 changes: 6 additions & 0 deletions app/assets/stylesheets/application.css.scss.erb
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,12 @@ $logo_height: $header_height;
}
}

#alert {
margin: 1.5em 0 2em;
color: red;
text-align: center;
}

#notice {
position: absolute;
top: $header_height;
Expand Down
3 changes: 2 additions & 1 deletion app/views/layouts/application.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,6 @@ html

#main
.wrap
p#alert = alert
- if alert
p#alert = alert
== yield

0 comments on commit 2279d45

Please sign in to comment.