mirror of
https://github.com/zumbiepig/MineXLauncher.git
synced 2025-06-08 03:24:50 +00:00
tempfix
This commit is contained in:
parent
939f5946a5
commit
ecf97a01bf
@ -807,8 +807,7 @@ body {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* bruh pls find a fix for this */
|
@keyframes article {
|
||||||
@keyframes article-1 {
|
|
||||||
0% {
|
0% {
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
scale: 0;
|
scale: 0;
|
||||||
@ -822,7 +821,9 @@ body {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@keyframes article-2 {
|
/* bruh pls find a fix for this
|
||||||
|
right now i have to change the animation to play it */
|
||||||
|
@keyframes article-tempfix {
|
||||||
0% {
|
0% {
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
scale: 0;
|
scale: 0;
|
||||||
|
@ -159,7 +159,7 @@ const article = {
|
|||||||
const modalContent = document.querySelector(`#article-${articleId} .article-content`) as HTMLElement | null;
|
const modalContent = document.querySelector(`#article-${articleId} .article-content`) as HTMLElement | null;
|
||||||
if (!articleAnimationLock && modal && modalContent) {
|
if (!articleAnimationLock && modal && modalContent) {
|
||||||
articleAnimationLock = true;
|
articleAnimationLock = true;
|
||||||
modal.style.animation = 'article-1 0.5s ease-in-out alternate 1';
|
modal.style.animation = '0.5s ease-in-out 1 normal article';
|
||||||
modal.style.display = 'flex';
|
modal.style.display = 'flex';
|
||||||
modalContent.scroll({ top: 0, left: 0, behavior: 'instant' });
|
modalContent.scroll({ top: 0, left: 0, behavior: 'instant' });
|
||||||
modal.addEventListener(
|
modal.addEventListener(
|
||||||
@ -182,7 +182,7 @@ const article = {
|
|||||||
const modal = document.querySelector(`#article-${articleId}`) as HTMLElement | null;
|
const modal = document.querySelector(`#article-${articleId}`) as HTMLElement | null;
|
||||||
if (!articleAnimationLock && modal) {
|
if (!articleAnimationLock && modal) {
|
||||||
articleAnimationLock = true;
|
articleAnimationLock = true;
|
||||||
modal.style.animation = 'article-2 0.5s ease-in-out alternate 1';
|
modal.style.animation = '0.5s ease-in-out 1 reverse article-tempfix';
|
||||||
modal.addEventListener(
|
modal.addEventListener(
|
||||||
'animationend',
|
'animationend',
|
||||||
() => {
|
() => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user