mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
style: attachment theming
This commit is contained in:
parent
98cb844f17
commit
8a9ae237ac
@ -61,7 +61,7 @@ export const IssueAttachments = () => {
|
||||
attachments.map((file) => (
|
||||
<div
|
||||
key={file.id}
|
||||
className="flex items-center justify-between h-[60px] gap-1 px-4 py-2 text-sm border border-gray-200 bg-white rounded-md"
|
||||
className="flex h-[60px] items-center justify-between gap-1 rounded-md border-[2px] border-brand-surface-2 bg-brand-base px-4 py-2 text-sm"
|
||||
>
|
||||
<Link href={file.asset}>
|
||||
<a target="_blank">
|
||||
@ -87,7 +87,7 @@ export const IssueAttachments = () => {
|
||||
</Tooltip>
|
||||
</div>
|
||||
|
||||
<div className="flex items-center gap-3 text-gray-500 text-xs">
|
||||
<div className="flex items-center gap-3 text-xs text-gray-500">
|
||||
<span>{getFileExtension(file.asset).toUpperCase()}</span>
|
||||
<span>{convertBytesToSize(file.attributes.size)}</span>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user