feat: style error components

wip-payments
Aravinth Manivannan 2022-06-10 19:13:23 +05:30
parent 3054fe5e9f
commit 3ead172971
Signed by: realaravinth
GPG Key ID: AD9F0F08E855ED88
2 changed files with 21 additions and 3 deletions

View File

@ -1,6 +1,6 @@
{% if error %}
<div class="error_container">
<h3 class="error-title">ERROR: {{ error.title }}</h3>
<p class="error-message">{{ error.reason }}</p>
<div class="error__container">
<h3 class="error__title">ERROR: {{ error.title }}</h3>
<p class="error__message">{{ error.reason }}</p>
</div>
{% endif %}

View File

@ -71,6 +71,24 @@ header {
background-color: #fff;
}
/*
* error statrs
*/
.error__container {
text-align: center;
color: #c00;
width: 100%;
margin: 10px 0;
}
.error__title,
.error__message {
color: #c00;
}
/* error ends */
/* nav starts */
.nav__container {