Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit 4e0093b

Browse files
author
vikasrohit
committed
SUP-2207, "Whoops! Something went wrong. Please try again later." message while opening the profile page.
-- Styled error section
1 parent 5608a43 commit 4e0093b

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
section(ng-switch="state")
22
.section-loading(ng-switch-when="loading")
33

4-
p(ng-switch-when="error") {{errMsg}}
4+
.section-error(ng-switch-when="error")
5+
p {{errMsg}}
56

67
div(ng-transclude, ng-switch-when="ready")

assets/css/directives/tc-section.scss

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,14 @@
99
min-height: 100px;
1010
background: url(/images/ripple.gif) no-repeat center center;
1111
}
12+
13+
.section-error {
14+
width: 100%;
15+
min-height: 100px;
16+
background: $white;
17+
border-top: 1px solid $gray-light;
18+
display: flex;
19+
justify-content: center;
20+
align-items: center;
21+
}
1222
}

0 commit comments

Comments
 (0)