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 { .hulyHeader-titleGroup {
flex-grow: 1; flex-grow: 1;
user-select: text;
cursor: auto;
&.withDescription { flex-direction: column; } &.withDescription { flex-direction: column; }
&:not(.withDescription) { &:not(.withDescription) {

View File

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

View File

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