update icon to hopefully look fine on both browsers

This commit is contained in:
Shpuld Shpuldson 2020-07-22 09:43:22 +03:00
parent 51b235f7aa
commit 0546326b22

View file

@ -79,10 +79,7 @@
@click.stop.prevent="togglePreview" @click.stop.prevent="togglePreview"
> >
{{ $t('post_status.preview') }} {{ $t('post_status.preview') }}
<i <i :class="showPreview ? 'icon-left-open' : 'icon-right-open'" />
class="icon-left-open"
:style="{ 'transform': showPreview ? 'rotate(90deg)' : 'rotate(-90deg)' }"
/>
</a> </a>
<i <i
v-show="previewLoading" v-show="previewLoading"
@ -393,7 +390,8 @@
} }
i { i {
margin-left: 0.2em; margin-left: 0.2em;
font-size: 0.9em; font-size: 0.8em;
transform: rotate(90deg);
} }
} }