mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-02 03:36:57 +01:00
🎨
This commit is contained in:
parent
c6afc61c94
commit
a0b036a119
1 changed files with 27 additions and 1 deletions
|
@ -1,5 +1,10 @@
|
||||||
<template>
|
<template>
|
||||||
<canvas ref="chartEl"></canvas>
|
<div class="cbbedffa">
|
||||||
|
<canvas ref="chartEl"></canvas>
|
||||||
|
<div v-if="fetching" class="fetching">
|
||||||
|
<MkLoading/>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
|
@ -622,7 +627,28 @@ export default defineComponent({
|
||||||
|
|
||||||
return {
|
return {
|
||||||
chartEl,
|
chartEl,
|
||||||
|
fetching,
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
<style lang="scss" scoped>
|
||||||
|
.cbbedffa {
|
||||||
|
position: relative;
|
||||||
|
|
||||||
|
> .fetching {
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
-webkit-backdrop-filter: var(--blur, blur(12px));
|
||||||
|
backdrop-filter: var(--blur, blur(12px));
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
cursor: wait;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
Loading…
Reference in a new issue