mirror of
https://github.com/ueberdosis/tiptap.git
synced 2025-08-06 13:38:49 +08:00
change loader size
This commit is contained in:
parent
8c09b5d4a0
commit
cfc79a59d5
@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="demo-frame" :class="{ 'is-inline': inline }">
|
<div class="demo-frame" :class="{ 'is-inline': inline, 'is-loading': isLoading }">
|
||||||
<div class="demo-frame__loader-wrapper" v-if="isLoading">
|
<div class="demo-frame__loader-wrapper" v-if="isLoading">
|
||||||
<div class="demo-frame__loader" />
|
<div class="demo-frame__loader" />
|
||||||
</div>
|
</div>
|
||||||
@ -70,7 +70,7 @@ export default {
|
|||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
position: relative;
|
position: relative;
|
||||||
min-height: 8rem;
|
min-height: 5rem;
|
||||||
|
|
||||||
&.is-inline {
|
&.is-inline {
|
||||||
border-radius: 0.5rem;
|
border-radius: 0.5rem;
|
||||||
@ -92,8 +92,8 @@ export default {
|
|||||||
&__loader,
|
&__loader,
|
||||||
&__loader:after {
|
&__loader:after {
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
width: 2rem;
|
width: 1.25rem;
|
||||||
height: 2rem;
|
height: 1.25rem;
|
||||||
}
|
}
|
||||||
&__loader {
|
&__loader {
|
||||||
font-size: 10px;
|
font-size: 10px;
|
||||||
|
Loading…
Reference in New Issue
Block a user