tweak: remove redundant hr and css
This commit is contained in:
parent
23335df9a4
commit
ab533b9c6b
|
|
@ -45,15 +45,3 @@
|
|||
max-width: 80%;
|
||||
box-shadow: 0 12px 28px 0 rgba(0,0,0,.2), 0 2px 4px 0 rgba(0,0,0,.1);
|
||||
}
|
||||
|
||||
.attachment-item .attachment-item__text {
|
||||
display: block;
|
||||
width: 100%;
|
||||
border: 1px solid var(--vscode-panel-border);
|
||||
border-radius: 2px;
|
||||
padding: 0.5rem;
|
||||
}
|
||||
|
||||
.attachment-item hr {
|
||||
border: 0.2px solid var(--vscode-panel-border);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -124,12 +124,9 @@ export const AttachmentsTab: React.FunctionComponent<{
|
|||
})}
|
||||
{attachments.size ? <div className='attachments-section'>Attachments</div> : undefined}
|
||||
{[...attachments.values()].map((a, i) => {
|
||||
return <>
|
||||
{ i > 0 && <hr /> }
|
||||
<div className='attachment-item' key={`attachment-${i}`}>
|
||||
<ExpandableAttachment attachment={a} />
|
||||
</div>
|
||||
</>;
|
||||
return <div className='attachment-item' key={`attachment-${i}`}>
|
||||
<ExpandableAttachment attachment={a} />
|
||||
</div>;
|
||||
})}
|
||||
</div>;
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue