Skip to content

Commit

Permalink
added style to display error messages in popup
Browse files Browse the repository at this point in the history
  • Loading branch information
HemantPawar committed Mar 20, 2017
1 parent e1df5b3 commit bd3c9d7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/scripts.babel/lib/RequestUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { appendData } from './HtmlUtils';
const errorMessage = error => (
`<div class="page-info">
<h3>Something went wrong!!!</h3>
<code>${error}</code>
<code class="error-code">${error}</code>
</div>`
);

Expand Down
7 changes: 6 additions & 1 deletion app/styles/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ body {
font-size: 16px;
text-align: center;
}

.page-content ul {
font-family: "McLaren",sans-serif;
font-size: 16px;
Expand Down Expand Up @@ -56,7 +57,7 @@ body {
-webkit-border-radius: 2px;
border-radius: 2px;
-webkit-box-shadow: 0 1px 4px rgba(0,0,0,0.3),0 0 10px rgba(0,0,0,0.1) inset;
box-shadow: 0 1px 4px rgba(0,0,0,0.3),0 0 10px rgba(0,0,0,0.1) inset
box-shadow: 0 1px 4px rgba(0,0,0,0.3),0 0 10px rgba(0,0,0,0.1) inset;
}

.page-footer {
Expand All @@ -71,4 +72,8 @@ body {
color: #df5e0e;
text-decoration: none !important;
font-weight: bold;
}

.error-code {
color: #df5e0e;
}

0 comments on commit bd3c9d7

Please sign in to comment.