forked from github/plane
style: attachment theming
This commit is contained in:
parent
98cb844f17
commit
8a9ae237ac
@ -61,7 +61,7 @@ export const IssueAttachments = () => {
|
|||||||
attachments.map((file) => (
|
attachments.map((file) => (
|
||||||
<div
|
<div
|
||||||
key={file.id}
|
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}>
|
<Link href={file.asset}>
|
||||||
<a target="_blank">
|
<a target="_blank">
|
||||||
@ -87,7 +87,7 @@ export const IssueAttachments = () => {
|
|||||||
</Tooltip>
|
</Tooltip>
|
||||||
</div>
|
</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>{getFileExtension(file.asset).toUpperCase()}</span>
|
||||||
<span>{convertBytesToSize(file.attributes.size)}</span>
|
<span>{convertBytesToSize(file.attributes.size)}</span>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user