Fix error modal styles
This commit is contained in:
parent
e7b731e808
commit
b514ec10b2
@ -461,8 +461,9 @@ input[type="number"]::-webkit-inner-spin-button {
|
||||
}
|
||||
.modal_simple_header {
|
||||
font-size: 14px;
|
||||
margin: 0 0 12px;
|
||||
margin: 0 0 10px;
|
||||
text-align: center;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.modal_simple_form {
|
||||
@ -3136,6 +3137,12 @@ ce671b orange
|
||||
.countries_modal_window .modal-dialog {
|
||||
max-width: 392px;
|
||||
}
|
||||
|
||||
.countries_modal_window .modal_simple_header {
|
||||
margin-bottom: 12px;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.countries_modal_col {
|
||||
max-height: 350px;
|
||||
}
|
||||
|
@ -2,8 +2,9 @@
|
||||
|
||||
<a class="modal-close-button" ng-click="$close()"><i></i></a>
|
||||
|
||||
<div class="modal-header">
|
||||
<h4 ng-if="error" class="modal-title" ng-switch="error.type">
|
||||
<div class="modal-body">
|
||||
|
||||
<h4 ng-if="error" class="modal_simple_header" ng-switch="error.type">
|
||||
<span ng-switch-when="ACCOUNT_REQUIRED">No account</span>
|
||||
<span ng-switch-default ng-switch="error.code">
|
||||
<span ng-switch-when="400">Error</span>
|
||||
@ -15,10 +16,7 @@
|
||||
<span ng-switch-default>Server error</span>
|
||||
</span>
|
||||
</h4>
|
||||
<h4 ng-if="!error" class="modal-title" ng-bind="title || 'Alert'"></h4>
|
||||
</div>
|
||||
|
||||
<div class="modal-body">
|
||||
<h4 ng-if="!error" class="modal_simple_header" ng-bind="title || 'Alert'"></h4>
|
||||
|
||||
<div ng-if="error" class="error_modal_description" ng-switch="error.type">
|
||||
<span ng-switch-when="NETWORK_BAD_REQUEST">
|
||||
|
Loading…
x
Reference in New Issue
Block a user