Skip to content
This repository was archived by the owner on Feb 6, 2026. It is now read-only.

Commit a3200e0

Browse files
committed
Doing some manual CSS hax for a change
1 parent 71b07c4 commit a3200e0

File tree

4 files changed

+25
-7
lines changed

4 files changed

+25
-7
lines changed

examples/chat-ui/src/components/ChatApp.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ const ChatApp: React.FC<ChatAppProps> = () => {
107107
className="flex min-h-screen w-screen animated-bg-container"
108108
style={{ '--random-delay': `${animationDelay}s` } as React.CSSProperties}
109109
>
110+
<div className="animated-bg"></div>
110111
<div className="flex flex-row flex-grow flex-1 min-h-screen relative">
111112
{/* Sidebar and Navbar components hidden but kept in codebase */}
112113
{false && (

examples/chat-ui/src/components/OAuthCallback.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ export function OAuthCallback() {
88

99
return (
1010
<div className="min-h-screen animated-bg-container flex items-center justify-center p-4">
11+
<div className="animated-bg"></div>
1112
<div className="bg-white rounded-lg shadow-xl p-8 text-center max-w-md w-full">
1213
<h1 className="text-2xl font-bold text-zinc-900 mb-4">Authenticating...</h1>
1314
<p className="text-zinc-600 mb-2">Please wait while we complete your authentication.</p>

examples/chat-ui/src/index.css

Lines changed: 21 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,33 @@
1313

1414
.animated-bg-container {
1515
position: relative;
16+
/*overflow: hidden;*/
17+
/*height: 500vh;*/
1618
}
1719

18-
.animated-bg-container::before {
20+
.animated-bg {
1921
content: '';
2022
position: absolute;
21-
top: 0;
22-
left: 0;
23-
right: 0;
24-
bottom: 0;
25-
background: linear-gradient(135deg, #fdf2f8, #faf5ff, #eef2ff);
26-
background-size: 100% 100vh;
23+
top: 0vh;
24+
left: 0vw;
25+
right: 0vw;
26+
bottom: 0vh;
27+
overflow: hidden;
28+
}
29+
30+
.animated-bg::before {
31+
content: '';
32+
position: absolute;
33+
top: -100vh;
34+
left: -1000vw;
35+
right: -1000vw;
36+
bottom: -100vh;
37+
background: linear-gradient(180deg, #fdf2f8, #faf5ff, #eef2ff, #faf5ff, #fdf2f8);
38+
/*background: linear-gradient(180deg, red, black, blue, black, red);*/
39+
background-size: 100% 200vh;
2740
background-repeat: repeat-y;
2841
animation: hue-rotate 60s linear infinite;
2942
animation-delay: var(--random-delay, 0s);
3043
z-index: -1;
44+
transform: rotate(-20deg);
3145
}

examples/chat-ui/src/styles/scrollbar.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
::-webkit-scrollbar {
33
width: 8px;
44
height: 8px;
5+
/* Scrollbars are fuxing with the layout?? */
6+
display: none;
57
}
68

79
::-webkit-scrollbar-track {

0 commit comments

Comments
 (0)