mirror of
https://github.com/usebruno/bruno.git
synced 2026-06-30 16:14:06 +00:00
fix: visually simplify the message list
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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 && (
|
||||
|
||||
Reference in New Issue
Block a user