diff --git a/portals/ai-workspace/src/Components/AILoader.tsx b/portals/ai-workspace/src/Components/AILoader.tsx
index 434377f32..e918d43f4 100644
--- a/portals/ai-workspace/src/Components/AILoader.tsx
+++ b/portals/ai-workspace/src/Components/AILoader.tsx
@@ -26,18 +26,46 @@ export default function AILoader({ label }: AILoaderProps) {
-
);
}
diff --git a/portals/ai-workspace/src/styles.css b/portals/ai-workspace/src/styles.css
index 5e9d10a7e..ef224cc89 100644
--- a/portals/ai-workspace/src/styles.css
+++ b/portals/ai-workspace/src/styles.css
@@ -98,6 +98,8 @@ body {
--size: 1;
position: relative;
+ width: 100px;
+ height: 100px;
border-radius: 50%;
transform: scale(var(--size));
@@ -121,29 +123,13 @@ body {
inset 0 -10px 10px 0 var(--color-four);
}
-.loader .box {
- width: 100px;
- height: 100px;
- background: linear-gradient(
- 180deg,
- var(--color-one) 30%,
- var(--color-two) 70%
- );
- mask: url(#clipping);
- -webkit-mask: url(#clipping);
-}
-
.loader svg {
position: absolute;
-}
-
-.loader svg #clipping {
- filter: contrast(15);
- animation: roundness calc(var(--time-animation) / 2) linear infinite;
-}
-
-.loader svg #clipping polygon {
- filter: blur(7px);
+ top: 0;
+ left: 0;
+ display: block;
+ transform: translateZ(0);
+ will-change: filter;
}
.loader svg #clipping polygon:nth-child(1) {
@@ -193,24 +179,6 @@ body {
}
}
-@keyframes roundness {
- 0% {
- filter: contrast(15);
- }
- 20% {
- filter: contrast(3);
- }
- 40% {
- filter: contrast(3);
- }
- 60% {
- filter: contrast(15);
- }
- 100% {
- filter: contrast(15);
- }
-}
-
@keyframes colorize {
0% {
filter: hue-rotate(0deg);