Fix status preview loader having different offset from the actual stats preview

This commit is contained in:
shpuld 2018-04-12 20:03:03 +03:00
parent 8db70ffa85
commit dc0fd8177c
1 changed files with 6 additions and 4 deletions

View File

@ -64,7 +64,7 @@
<div v-if="showPreview" class="status-preview-container"> <div v-if="showPreview" class="status-preview-container">
<status class="status-preview" v-if="preview" :noReplyLinks="true" :statusoid="preview" :compact=true></status> <status class="status-preview" v-if="preview" :noReplyLinks="true" :statusoid="preview" :compact=true></status>
<div class="status-preview status-preview-loading base00-background base03-border" v-else> <div class="status-preview status-preview-loading" v-else>
<i class="icon-spin4 animate-spin"></i> <i class="icon-spin4 animate-spin"></i>
</div> </div>
</div> </div>
@ -146,12 +146,14 @@
.status-preview-loading { .status-preview-loading {
display: block; display: block;
font-size: 2em; min-width: 15em;
min-width: 8em; padding: 1em;
padding: 0.5em;
text-align: center; text-align: center;
border-width: 1px; border-width: 1px;
border-style: solid; border-style: solid;
i {
font-size: 2em;
}
} }
.status-el { .status-el {