polish preview styles a bit

This commit is contained in:
Shpuld Shpuldson 2020-07-14 14:43:26 +03:00
parent 3e09a708f6
commit 7859c5fe4b
1 changed files with 5 additions and 6 deletions

View File

@ -80,8 +80,7 @@
>
{{ $t('post_status.preview') }}
<i
class="icon-down-open"
:style="{ transform: showPreview ? 'rotate(0deg)' : 'rotate(-90deg)' }"
:class="showPreview ? 'icon-up-open' : 'icon-down-open'"
/>
</a>
<i
@ -374,6 +373,7 @@
}
.preview-heading {
padding-left: 0.5em;
display: flex;
width: 100%;
@ -389,10 +389,9 @@
&:hover {
text-decoration: underline;
}
i {
font-size: 0.9em;
}
.icon-down-open {
transition: transform 0.1s;
}
.preview-container {