mirror of
https://github.com/hcengineering/platform.git
synced 2025-05-20 06:17:23 +00:00
Fixed the display of the duration of events in the Calendar (#8905)
Signed-off-by: Alexander Platov <alexander.platov@hardcoreeng.com>
This commit is contained in:
parent
b0c30707d6
commit
bb18fa0369
@ -865,9 +865,9 @@
|
||||
<span class="weekday">{getWeekDayName(day, weekFormat)}</span>
|
||||
{/if}
|
||||
{#if tEvents !== 0}
|
||||
<span style:min-width={'3rem'}>
|
||||
<div class="header-time">
|
||||
<TimeDuration value={tEvents} />
|
||||
</span>
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
{/each}
|
||||
@ -1376,5 +1376,15 @@
|
||||
padding: 0.125rem;
|
||||
}
|
||||
}
|
||||
.header-time {
|
||||
position: absolute;
|
||||
top: var(--spacing-0_25);
|
||||
right: var(--spacing-0_25);
|
||||
padding: var(--spacing-0_25) var(--spacing-1);
|
||||
font-size: 0.75rem;
|
||||
color: var(--theme-dark-color);
|
||||
background-color: var(--theme-button-hovered);
|
||||
border-radius: var(--small-BorderRadius);
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
@ -105,8 +105,8 @@
|
||||
<div class="timeline-resource-content">
|
||||
{#each persons as person}
|
||||
<div class="timeline-row" style={getRowStyle()}>
|
||||
<div class="timeline-resource-cell">
|
||||
<PersonPresenter value={person} />
|
||||
<div class="timeline-resource-cell flex-row-center">
|
||||
<div><PersonPresenter value={person} /></div>
|
||||
</div>
|
||||
</div>
|
||||
{/each}
|
||||
|
Loading…
Reference in New Issue
Block a user