Skip to content

Commit 46ad0f0

Browse files
committed
More edits to dancingemoji bracket
1 parent 7e307a5 commit 46ad0f0

3 files changed

Lines changed: 7 additions & 6 deletions

File tree

src/chat/elementjson/chat-styles.css

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1627,27 +1627,28 @@ a {
16271627
position: relative;
16281628
top: 0;
16291629
left: 0;
1630+
pointer-events: none;
16301631
}
16311632

16321633
@keyframes danceBracketAnim {
16331634
/* Bounce */
16341635
0% {
16351636
transform: translate(0, 0) scale(1, 1);
1636-
animation-timing-function: ease-in-out;
1637+
animation-timing-function: ease-out;
16371638
}
16381639
/* Outwards left*/
16391640
25% {
1640-
transform: translate(-25%, -200%) rotate(-10deg);
1641+
transform: translate(-25%, -100%) rotate(-10deg);
16411642
animation-timing-function: ease-in;
16421643
}
16431644
/* Bounce */
16441645
50% {
16451646
transform: translate(0, 0) scale(1, 1);
1646-
animation-timing-function: ease-in-out;
1647+
animation-timing-function: ease-out;
16471648
}
16481649
/* Outwards right */
16491650
75% {
1650-
transform: translate(25%, -200%) rotate(10deg);
1651+
transform: translate(25%, -100%) rotate(10deg);
16511652
animation-timing-function: ease-in;
16521653
}
16531654
/* Go back to start (repeat) */

src/safehtmlencode.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -616,7 +616,7 @@ function getBracketCodeJSON(inputText = "", triggerBracketCodes = {}) {
616616
}
617617
if (isSafeURLOrDomain(url)) {
618618
elm.children.push({
619-
element: "div",
619+
element: "span",
620620
className: "danceBracketContainer",
621621
children: [
622622
{

wpstatic/version.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"timestamp":"1761330327615"}
1+
{"timestamp":"1761330645780"}

0 commit comments

Comments
 (0)