n8n/packages/editor-ui/src/views/LoadingView.vue
Iván Ovejero 5ca2148c7e
refactor(editor): Apply Prettier (no-changelog) (#4920)
*  Adjust `format` script

* 🔥 Remove exemption for `editor-ui`

* 🎨 Prettify

* 👕 Fix lint
2022-12-14 10:04:10 +01:00

30 lines
475 B
Vue

<template>
<div :class="$style.wrapper" data-test-id="node-view-loader">
<div :class="$style.spinner">
<n8n-spinner />
</div>
</div>
</template>
<style lang="scss" module>
.wrapper {
width: 100%;
height: 100%;
position: absolute;
background-color: var(--color-background-light);
}
.spinner {
margin-bottom: var(--spacing-l);
position: absolute;
left: 50%;
top: 30%;
* {
color: var(--color-primary);
min-height: 40px;
min-width: 40px;
}
}
</style>