polish preview styles a bit

This commit is contained in:
Shpuld Shpuldson 2020-07-14 14:43:26 +03:00
parent 3e09a708f6
commit 7859c5fe4b

View file

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