Browse Source

Merge branch 'fix/preview-styles-polish' into 'develop'

polish preview styles a bit

See merge request pleroma/pleroma-fe!1186
neckbeard
HJ 7 months ago
parent
commit
f293dc39dc
1 changed files with 8 additions and 8 deletions
  1. +8
    -8
      src/components/post_status_form/post_status_form.vue

+ 8
- 8
src/components/post_status_form/post_status_form.vue View File

@ -79,10 +79,7 @@
@click.stop.prevent="togglePreview"
>
{{ $t('post_status.preview') }}
<i
class="icon-down-open"
:style="{ transform: showPreview ? 'rotate(0deg)' : 'rotate(-90deg)' }"
/>
<i :class="showPreview ? 'icon-left-open' : 'icon-right-open'" />
</a>
<i
v-show="previewLoading"
@ -374,6 +371,7 @@
}
.preview-heading {
padding-left: 0.5em;
display: flex;
width: 100%;
@ -385,14 +383,16 @@
.preview-toggle {
display: flex;
cursor: pointer;
user-select: none;
&:hover {
text-decoration: underline;
}
}
.icon-down-open {
transition: transform 0.1s;
i {
margin-left: 0.2em;
font-size: 0.8em;
transform: rotate(90deg);
}
}
.preview-container {

Loading…
Cancel
Save