Fix expand chat reference animation in web, desktop, obsidian clients

This commit is contained in:
Debanjum Singh Solanky 2024-05-26 18:29:14 +05:30
parent 39faae68c0
commit 7594401461
3 changed files with 6 additions and 3 deletions

View file

@ -1695,9 +1695,10 @@
content: "▶"; content: "▶";
margin-right: 5px; margin-right: 5px;
display: inline-block; display: inline-block;
transition: transform 0.3s ease-in-out; transition: transform 0.1s ease-in-out;
} }
button.reference-button.expanded::before,
button.reference-button:active:before, button.reference-button:active:before,
button.reference-button[aria-expanded="true"]::before { button.reference-button[aria-expanded="true"]::before {
transform: rotate(90deg); transform: rotate(90deg);

View file

@ -183,8 +183,9 @@ button.reference-button::before {
content: "▶"; content: "▶";
margin-right: 5px; margin-right: 5px;
display: inline-block; display: inline-block;
transition: transform 0.3s ease-in-out; transition: transform 0.1s ease-in-out;
} }
button.reference-button.expanded::before,
button.reference-button:active:before, button.reference-button:active:before,
button.reference-button[aria-expanded="true"]::before { button.reference-button[aria-expanded="true"]::before {
transform: rotate(90deg); transform: rotate(90deg);

View file

@ -2047,9 +2047,10 @@ To get started, just start typing below. You can also type / to see a list of co
content: "▶"; content: "▶";
margin-right: 5px; margin-right: 5px;
display: inline-block; display: inline-block;
transition: transform 0.3s ease-in-out; transition: transform 0.1s ease-in-out;
} }
button.reference-button.expanded::before,
button.reference-button:active:before, button.reference-button:active:before,
button.reference-button[aria-expanded="true"]::before { button.reference-button[aria-expanded="true"]::before {
transform: rotate(90deg); transform: rotate(90deg);