New option: Pause MFM animations until status hover (#120)
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/120 Co-authored-by: eris <femmediscord@gmail.com> Co-committed-by: eris <femmediscord@gmail.com>
This commit is contained in:
parent
b354ad382c
commit
d4f8934e8a
7 changed files with 26 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
<template>
|
||||
<div
|
||||
class="StatusContent"
|
||||
:class="{ '-compact': compact }"
|
||||
:class="{ '-compact': compact, 'mfm-hover': renderMfmOnHover }"
|
||||
>
|
||||
<slot name="header" />
|
||||
<StatusBody
|
||||
|
@ -75,6 +75,12 @@
|
|||
height: 50px;
|
||||
}
|
||||
}
|
||||
|
||||
&.mfm-hover:not(:hover) {
|
||||
.mfm {
|
||||
animation: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.quote-inline,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue