Skip to content

Commit

Permalink
Update UI design and color
Browse files Browse the repository at this point in the history
  • Loading branch information
meghdadFar committed Apr 8, 2024
1 parent f759a15 commit d90c129
Showing 1 changed file with 39 additions and 6 deletions.
45 changes: 39 additions & 6 deletions wordview/chat_ui/chat.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,45 @@
display: flex;
flex-direction: column;
}
.message-container {
/* .message-container {
padding: 20px;
overflow-y: auto;
flex-grow: 1;
margin-bottom: 10px; /* Adjusted to add space at the bottom */
margin-bottom: 10px;
} */
.message-container {
overflow-y: auto; /* Enables vertical scrolling */
max-height: 500px; /* Set a max-height that fits your design */
padding: 10px;
margin-bottom: 10px;
width: 100%; /* Ensure it fills the container */
box-sizing: border-box; /* Include padding and border in the width and height */
position: relative;
}
/* Styling the scrollbar itself */
.message-container::-webkit-scrollbar {
width: 10px; /* Adjust the width of the scrollbar */
}
/* Styling the track (part the thumb slides within) */
.message-container::-webkit-scrollbar-track {
background: #f1f1f1; /* Light grey background on the track */
border-radius: 10px; /* Rounded corners on the track */
}

/* Styling the thumb (the part that you drag) */
.message-container::-webkit-scrollbar-thumb {
background: #888; /* Dark grey thumb */
border-radius: 10px; /* Rounded corners on the thumb */
}

/* Handle on hover */
.message-container::-webkit-scrollbar-thumb:hover {
background: #555; /* Darker grey on hover */
}




/* Standard Oval Style of Message Bubbles */
/*
.message {
Expand Down Expand Up @@ -147,18 +180,18 @@
button:hover {
background-color: #f0f0f0;
}
::-webkit-scrollbar {
/* ::-webkit-scrollbar {
width: 5px;
}
::-webkit-scrollbar-track {
background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
background: #888;
}
::-webkit-scrollbar-thumb:hover {
} */
/* ::-webkit-scrollbar-thumb:hover {
background: #555;
}
} */
</style>
</head>
<body>
Expand Down

0 comments on commit d90c129

Please sign in to comment.