Skip to content

Commit b2a2a98

Browse files
committed
fixed loading spinner
1 parent 720f95c commit b2a2a98

File tree

4 files changed

+5
-6
lines changed

4 files changed

+5
-6
lines changed

assets/css/app.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/js/app.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Resources/js/components/App.vue

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
<template lang="pug">
2-
#main-wrapper(
3-
:class="{'toggle-menu' : toggleMenu}"
4-
)
2+
#main-wrapper
53
#loading-overlay(v-if="isPageLoading")
64
span.loading-icon
75

@@ -176,6 +174,7 @@ export default {
176174
background: rgba(255, 255, 255, 0.8);
177175
z-index: 20;
178176
display: flex;
177+
align-items: center;
179178
justify-content: center;
180179
}
181180

src/Resources/sass/app.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ body{
3535
.loading-icon{
3636
-webkit-animation: spinAround 500ms infinite linear;
3737
animation: spinAround 500ms infinite linear;
38-
border: 2px solid #dbdbdb;
38+
border: 2px solid $primary;
3939
border-radius: 290486px;
4040
border-right-color: transparent;
4141
border-top-color: transparent;

0 commit comments

Comments
 (0)