forked from AkkomaGang/akkoma-fe
adjust icon use
This commit is contained in:
parent
3cac26a2ac
commit
51b235f7aa
1 changed files with 4 additions and 1 deletions
|
@ -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 a new issue