diff options
| author | Shpuld Shpuldson <shp@cock.li> | 2020-07-22 09:43:22 +0300 |
|---|---|---|
| committer | Shpuld Shpuldson <shp@cock.li> | 2020-07-22 09:43:22 +0300 |
| commit | 0546326b222d0d861e15401768dfad80ec2b9175 (patch) | |
| tree | 83bb06e5605ce4f56cc6281e8c5a1e5d6c6997fa | |
| parent | 51b235f7aadeb793fc5f09d647adf3514ff98127 (diff) | |
update icon to hopefully look fine on both browsers
| -rw-r--r-- | src/components/post_status_form/post_status_form.vue | 8 |
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); } } |
