mirror of
https://github.com/hcengineering/platform.git
synced 2024-11-23 14:06:00 +03:00
parent
8957138eb2
commit
44133ac6c1
@ -183,6 +183,7 @@ p:last-child { margin-block-end: 0; }
|
||||
.ml-1 { margin-left: .25rem; }
|
||||
.ml-2 { margin-left: .5rem; }
|
||||
.ml-3 { margin-left: .75rem; }
|
||||
.ml-4 { margin-left: 1rem; }
|
||||
.mr-1 { margin-right: .25rem; }
|
||||
.mr-4 { margin-right: 1rem; }
|
||||
.mr-8 { margin-right: 2rem; }
|
||||
|
@ -36,7 +36,7 @@
|
||||
{#if value.attachments && value.attachments > 0}
|
||||
<Tooltip label={'Attachments (' + value.attachments + ')'} component={AttachmentPopup} props={{ objectId: value._id }}>
|
||||
<div class="sm-tool-icon">
|
||||
<span class="icon"><IconAttachment size="small"/></span>{value.attachments}
|
||||
<span class="icon"><IconAttachment size="small"/></span> {value.attachments}
|
||||
</div>
|
||||
</Tooltip>
|
||||
{/if}
|
||||
|
@ -31,13 +31,13 @@
|
||||
<Avatar size={'medium'} />
|
||||
</div>
|
||||
<div class="flex-col">
|
||||
<div class="flex-row-top justify-between mb-1">
|
||||
<div class="header">
|
||||
<div class="fs-title">
|
||||
{#await getUser(client, value.modifiedBy) then user}
|
||||
{#if user}{formatName(user.name)}{/if}
|
||||
{/await}
|
||||
</div>
|
||||
<div class="content-trans-color"><TimeSince value={value.modifiedOn} /></div>
|
||||
<div class="content-trans-color ml-4"><TimeSince value={value.modifiedOn} /></div>
|
||||
</div>
|
||||
<div class="content-color">
|
||||
<MessageViewer message={value.message}/>
|
||||
@ -51,15 +51,10 @@
|
||||
min-width: 2.25rem;
|
||||
}
|
||||
|
||||
// .message {
|
||||
// display: flex;
|
||||
// flex-direction: column;
|
||||
// width: 100%;
|
||||
// .text {
|
||||
// line-height: 150%;
|
||||
// max-width: 20rem;
|
||||
|
||||
// :global(p) { margin: 0; }
|
||||
// }
|
||||
// }
|
||||
.header {
|
||||
display: inline-flex;
|
||||
justify-content: space-between;
|
||||
align-items: baseline;
|
||||
margin-bottom: .25rem;
|
||||
}
|
||||
</style>
|
@ -26,7 +26,7 @@
|
||||
{#if value.comments && value.comments > 0}
|
||||
<Tooltip label={chunter.string.Comments} component={CommentPopup} props={{ objectId: value._id }}>
|
||||
<div class="sm-tool-icon">
|
||||
<span class="icon"><IconThread size="small"/></span>{value.comments}
|
||||
<span class="icon"><IconThread size="small"/></span> {value.comments}
|
||||
</div>
|
||||
</Tooltip>
|
||||
{/if}
|
||||
|
@ -26,8 +26,8 @@
|
||||
|
||||
{#if value.applications && value.applications > 0}
|
||||
<Tooltip label={'Applications'} component={ApplicationsPopup} props={{ value }}>
|
||||
<div class="flex-row-center">
|
||||
<IconFile size={'small'} /> {value.applications}
|
||||
<div class="sm-tool-icon">
|
||||
<span class="icon"><IconFile size={'small'} /></span> {value.applications}
|
||||
</div>
|
||||
</Tooltip>
|
||||
{/if}
|
||||
|
Loading…
Reference in New Issue
Block a user