fix: visually simplify the message list

This commit is contained in:
Siddharth Gelera
2025-09-17 16:13:57 +05:30
parent a6b19fc8bf
commit 835771d007
2 changed files with 9 additions and 3 deletions

View File

@@ -24,6 +24,12 @@ const StyledWrapper = styled.div`
background: ${(props) => props.theme.bg};
border-color: ${(props) => props.theme.table.border};
}
.CodeMirror-foldgutter, .CodeMirror-linenumbers, .CodeMirror-lint-markers {
background: ${({theme})=> theme.bg};
}
`;
export default StyledWrapper;

View File

@@ -126,13 +126,13 @@ const WSMessageItem = ({ message, inFocus }) => {
{message.timestamp && (
<span className="text-xs text-gray-400">{new Date(message.timestamp).toISOString()}</span>
)}
<span className="text-gray-600">
{isOpen ? (
{!isInfo && <span className="text-gray-600">
{isOpen? (
<IconChevronDown size={16} strokeWidth={1.5} className="text-zinc-700 dark:text-zinc-300" />
) : (
<IconChevronUp size={16} strokeWidth={1.5} className="text-zinc-700 dark:text-zinc-300" />
)}
</span>
</span>}
</div>
</div>
{isOpen && (