aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/components/post_status_form/post_status_form.vue8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/components/post_status_form/post_status_form.vue b/src/components/post_status_form/post_status_form.vue
index b1c74aad..7ee9e748 100644
--- a/src/components/post_status_form/post_status_form.vue
+++ b/src/components/post_status_form/post_status_form.vue
@@ -79,10 +79,7 @@
@click.stop.prevent="togglePreview"
>
{{ $t('post_status.preview') }}
- <i
- class="icon-left-open"
- :style="{ 'transform': showPreview ? 'rotate(90deg)' : 'rotate(-90deg)' }"
- />
+ <i :class="showPreview ? 'icon-left-open' : 'icon-right-open'" />
</a>
<i
v-show="previewLoading"
@@ -393,7 +390,8 @@
}
i {
margin-left: 0.2em;
- font-size: 0.9em;
+ font-size: 0.8em;
+ transform: rotate(90deg);
}
}