Minor UI fixes (#6171)

Signed-off-by: Alexander Platov <alexander.platov@hardcoreeng.com>
This commit is contained in:
Alexander Platov 2024-07-29 18:03:28 +03:00 committed by GitHub
parent e07d624981
commit 8b44249cec
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 7 additions and 4 deletions

View File

@ -391,6 +391,8 @@
}
.hulyHeader-titleGroup {
flex-grow: 1;
user-select: text;
cursor: auto;
&.withDescription { flex-direction: column; }
&:not(.withDescription) {

View File

@ -29,15 +29,13 @@
closeTooltip,
deviceOptionsStore as deviceInfo,
day as getDay,
getEventPositionElement,
getMonday,
getWeekDayName,
resizeObserver,
showPopup,
ticker,
isWeekend
} from '@hcengineering/ui'
import { Menu, showMenu } from '@hcengineering/view-resources'
import { showMenu } from '@hcengineering/view-resources'
import { createEventDispatcher, onDestroy, onMount } from 'svelte'
import type {
CalendarADGrid,
@ -630,6 +628,7 @@
function mouseDownElement (e: MouseEvent, event: Event, direction: 'top' | 'bottom'): void {
if (e.buttons !== 1) return
e.stopPropagation()
closeTooltip()
resizeId = event._id
directionResize = direction
originDate = event.date

View File

@ -27,7 +27,8 @@
location,
navigate,
showPopup,
Scroller
Scroller,
closePanel
} from '@hcengineering/ui'
import {
ParticipantInfo,
@ -104,6 +105,7 @@
}
function back (): void {
closePanel()
const loc = getCurrentLocation()
loc.path[2] = loveId
loc.path.length = 3