Spaces:
Running
Running
headerdaki boşluğu kaldır boşluk var nedense
Browse files- components/sidebar.js +2 -2
- index.html +1 -5
- script.js +0 -2
components/sidebar.js
CHANGED
|
@@ -16,9 +16,9 @@ background: rgba(17, 24, 39, 0.95);
|
|
| 16 |
height: 100vh;
|
| 17 |
position: fixed;
|
| 18 |
left: 0;
|
| 19 |
-
top:
|
| 20 |
z-index: 40;
|
| 21 |
-
|
| 22 |
}
|
| 23 |
|
| 24 |
.nav-section {
|
|
|
|
| 16 |
height: 100vh;
|
| 17 |
position: fixed;
|
| 18 |
left: 0;
|
| 19 |
+
top: 0;
|
| 20 |
z-index: 40;
|
| 21 |
+
transition: transform 0.3s ease;
|
| 22 |
}
|
| 23 |
|
| 24 |
.nav-section {
|
index.html
CHANGED
|
@@ -59,12 +59,8 @@
|
|
| 59 |
</head>
|
| 60 |
<body class="bg-zinc-950 text-white min-h-screen gradient-shift relative overflow-hidden">
|
| 61 |
<div class="noise"></div>
|
| 62 |
-
|
| 63 |
-
<!-- Header -->
|
| 64 |
-
<custom-header></custom-header>
|
| 65 |
-
|
| 66 |
<!-- Main Container -->
|
| 67 |
-
<div class="flex h-screen relative z-10
|
| 68 |
<!-- Left Sidebar -->
|
| 69 |
<custom-sidebar class="w-64 bg-zinc-900/50 backdrop-blur-xl border-r border-zinc-800"></custom-sidebar>
|
| 70 |
<!-- Main Chat Area -->
|
|
|
|
| 59 |
</head>
|
| 60 |
<body class="bg-zinc-950 text-white min-h-screen gradient-shift relative overflow-hidden">
|
| 61 |
<div class="noise"></div>
|
|
|
|
|
|
|
|
|
|
|
|
|
| 62 |
<!-- Main Container -->
|
| 63 |
+
<div class="flex h-screen relative z-10">
|
| 64 |
<!-- Left Sidebar -->
|
| 65 |
<custom-sidebar class="w-64 bg-zinc-900/50 backdrop-blur-xl border-r border-zinc-800"></custom-sidebar>
|
| 66 |
<!-- Main Chat Area -->
|
script.js
CHANGED
|
@@ -323,7 +323,6 @@ function showTypingIndicator() {
|
|
| 323 |
function hideTypingIndicator() {
|
| 324 |
document.getElementById('typingIndicator').classList.add('hidden');
|
| 325 |
}
|
| 326 |
-
|
| 327 |
function toggleChatMode() {
|
| 328 |
isCompactMode = !isCompactMode;
|
| 329 |
const chatContainer = document.getElementById('chatContainer');
|
|
@@ -343,7 +342,6 @@ function toggleChatMode() {
|
|
| 343 |
|
| 344 |
localStorage.setItem('chatMode', isCompactMode ? 'compact' : 'spacious');
|
| 345 |
}
|
| 346 |
-
|
| 347 |
function clearChat() {
|
| 348 |
if (confirm('Are you sure you want to clear the entire chat history?')) {
|
| 349 |
const chatContainer = document.getElementById('chatContainer');
|
|
|
|
| 323 |
function hideTypingIndicator() {
|
| 324 |
document.getElementById('typingIndicator').classList.add('hidden');
|
| 325 |
}
|
|
|
|
| 326 |
function toggleChatMode() {
|
| 327 |
isCompactMode = !isCompactMode;
|
| 328 |
const chatContainer = document.getElementById('chatContainer');
|
|
|
|
| 342 |
|
| 343 |
localStorage.setItem('chatMode', isCompactMode ? 'compact' : 'spacious');
|
| 344 |
}
|
|
|
|
| 345 |
function clearChat() {
|
| 346 |
if (confirm('Are you sure you want to clear the entire chat history?')) {
|
| 347 |
const chatContainer = document.getElementById('chatContainer');
|