Skip to content

Commit a115b73

Browse files
committed
Fixed header link alignment.
adjusted conversations panel colors. Improved message bubble text formatting for readability.
1 parent 5b4523c commit a115b73

File tree

3 files changed

+5
-11
lines changed

3 files changed

+5
-11
lines changed

src/components/chat-header.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,11 +112,12 @@ $shadow-spread-radius: 0px;
112112
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
113113
114114
a {
115-
top: 15%;
115+
top: 0%;
116116
position: relative;
117117
118118
@media (max-width: 600px) {
119119
left: 5%;
120+
top: 14%;
120121
}
121122
}
122123
}

src/components/conversations-dialog.vue

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -134,9 +134,6 @@ function toggleSidebar() {
134134
<button class="close-btn" @click="toggleSidebar">Close</button>
135135
</div>
136136
<div id="resize-handle" class="resize-handle" @mousedown="startResize" @dblclick="handleDoubleClick"></div>
137-
<!-- <ToolTip targetId="resize-handle">
138-
Drag to resize. Double click to collapse/open.
139-
</ToolTip> -->
140137
</div>
141138

142139

@@ -268,7 +265,7 @@ $icon-color: rgb(187, 187, 187);
268265
li {
269266
padding: 15px;
270267
border-bottom: 1px solid #100d0d;
271-
background-color: #2c2424;
268+
background-color: #2a2121;
272269
transition: background-color 0.2s ease;
273270
274271
-webkit-user-select: none;
@@ -281,7 +278,6 @@ $icon-color: rgb(187, 187, 187);
281278
282279
&.selected {
283280
background-color: #36303b;
284-
color: #d1cbca; // Lighter text color for better contrast
285281
font-weight: bold;
286282
box-shadow: inset 0 4px 6px rgba(0, 0, 0, 0.1);
287283
animation: pulse 0.250s ease-out forwards;
@@ -298,7 +294,7 @@ $icon-color: rgb(187, 187, 187);
298294
299295
@keyframes pulse {
300296
0% {
301-
background-color: #0f3b39;
297+
background-color: #07302e;
302298
transform: scale(1);
303299
}
304300
@@ -308,7 +304,7 @@ $icon-color: rgb(187, 187, 187);
308304
}
309305
310306
100% {
311-
background-color: #0f3b39;
307+
background-color: #07302e;
312308
transform: scale(1);
313309
}
314310
}

src/components/message-item.vue

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,6 @@ function formatMessage(content) {
5555
5656
// Check if the message content contains more than one line
5757
if (content.split('\n').length > 1) {
58-
// Replace double newlines with paragraph tags
59-
renderedMessage = renderedMessage.replace(/\n\n/g, '<p></p>');
60-
6158
// Replace single newlines with line breaks
6259
renderedMessage = renderedMessage.replace(/\n/g, '<br>');
6360
}

0 commit comments

Comments
 (0)