Style loading view
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
This commit is contained in:
parent
be46d870aa
commit
5a54be2e2e
3 changed files with 16 additions and 1 deletions
|
@ -212,3 +212,9 @@ the layout viewport up without resizing it when the keyboard shows */
|
||||||
.LazyListParent {
|
.LazyListParent {
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.LoadingView {
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
|
@ -787,6 +787,15 @@ button.link {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.LoadingView {
|
||||||
|
height: 100%;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.LoadingView .spinner {
|
||||||
|
margin-left: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
/* Right Panel */
|
/* Right Panel */
|
||||||
|
|
||||||
.RightPanelView {
|
.RightPanelView {
|
||||||
|
|
|
@ -3,6 +3,6 @@ import {spinner} from "../../common.js";
|
||||||
|
|
||||||
export class LoadingView extends TemplateView {
|
export class LoadingView extends TemplateView {
|
||||||
render(t) {
|
render(t) {
|
||||||
return t.div(["Loading ", spinner(t)]);
|
return t.div({ className: "LoadingView" }, ["Loading", spinner(t)]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue