fix dasher preolad

This commit is contained in:
Thibault Duplessis 2019-04-28 14:22:12 +07:00
parent 5b58e13508
commit 51bbb98475
3 changed files with 8 additions and 5 deletions

View file

@ -14,8 +14,8 @@
75%,95% { stroke: #4caf50 }
}
.spinner {
width: 80px;
height: 80px;
width: 70px;
height: 70px;
margin: auto;
svg {
animation: spinner-rotate 1.5s linear infinite;

View file

@ -35,8 +35,11 @@
top: var(--dropdown-top);
background: $c-bg-header-dropdown;
z-index: z('dropdown');
.initiating .spinner {
padding: 10px 30px;
.initiating {
@extend %flex-center;
justify-content: center;
width: 225px;
height: 300px;
}
a,
button {

View file

@ -12,7 +12,7 @@ import { view as pieceView } from './piece'
import { spinner } from './util'
export function loading(): VNode {
return h('div#dasher_app.dropdown', spinner());
return h('div#dasher_app.dropdown', h('div.initiating', spinner()));
}
export function loaded(ctrl: DasherCtrl): VNode {