adjust icon use
This commit is contained in:
parent
3cac26a2ac
commit
51b235f7aa
|
@ -80,7 +80,8 @@
|
||||||
>
|
>
|
||||||
{{ $t('post_status.preview') }}
|
{{ $t('post_status.preview') }}
|
||||||
<i
|
<i
|
||||||
:class="showPreview ? 'icon-up-open' : 'icon-down-open'"
|
class="icon-left-open"
|
||||||
|
:style="{ 'transform': showPreview ? 'rotate(90deg)' : 'rotate(-90deg)' }"
|
||||||
/>
|
/>
|
||||||
</a>
|
</a>
|
||||||
<i
|
<i
|
||||||
|
@ -385,11 +386,13 @@
|
||||||
.preview-toggle {
|
.preview-toggle {
|
||||||
display: flex;
|
display: flex;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
user-select: none;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
i {
|
i {
|
||||||
|
margin-left: 0.2em;
|
||||||
font-size: 0.9em;
|
font-size: 0.9em;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue