diff --git a/packages/theme/styles/_layouts.scss b/packages/theme/styles/_layouts.scss index 14c03182da..f74b1004f1 100644 --- a/packages/theme/styles/_layouts.scss +++ b/packages/theme/styles/_layouts.scss @@ -678,6 +678,7 @@ input.search { .h-50 { height: 12.5rem; } .h-60 { height: 15.0rem; } .w-min { width: min-content; } +.w-max { width: max-content; } .w-full { width: 100%; } .w-2 { width: .5rem; } .w-4 { width: 1rem; } @@ -708,6 +709,7 @@ input.search { .min-w-144 { min-width: 25rem; } .min-w-168 { min-width: 42rem; } .min-w-min { min-width: min-content; } +.min-w-full { min-width: 100%; } .min-h-0 { min-height: 0; } .min-h-2 { min-height: .5rem; } .min-h-4 { min-height: 1rem; } @@ -1001,6 +1003,7 @@ a.no-line { .content-primary-color { color: var(--primary-button-color); } .red-color { color: var(--highlight-red); } .error-color { color: var(--theme-error-color); } +.sunshine-text-color { color: var(--tag-accent-SunshineText) !important; } .border-radius-4 { border-radius: 1rem; } .border-radius-3 { border-radius: 0.75rem; } diff --git a/packages/ui/src/components/ButtonMenu.svelte b/packages/ui/src/components/ButtonMenu.svelte index 631c48b867..8c6e178c48 100644 --- a/packages/ui/src/components/ButtonMenu.svelte +++ b/packages/ui/src/components/ButtonMenu.svelte @@ -37,6 +37,7 @@ export let selected: DropdownIntlItem['id'] | undefined = undefined export let element: HTMLButtonElement | undefined = undefined export let focusIndex = -1 + export let id: string | undefined = undefined let opened: boolean = false @@ -83,5 +84,6 @@ {inheritColor} pressed={opened} {focusIndex} + {id} on:click={openPopup} /> diff --git a/plugins/calendar-resources/src/components/DateEditor.svelte b/plugins/calendar-resources/src/components/DateEditor.svelte index 7556944814..1795edd5bf 100644 --- a/plugins/calendar-resources/src/components/DateEditor.svelte +++ b/plugins/calendar-resources/src/components/DateEditor.svelte @@ -25,6 +25,7 @@ getUserTimezone, showPopup } from '@hcengineering/ui' + import { FixedColumn } from '@hcengineering/view-resources' import { createEventDispatcher } from 'svelte' import DateLocalePresenter from './DateLocalePresenter.svelte' @@ -38,6 +39,7 @@ export let disabled: boolean = false export let focusIndex = -1 export let timeZone: string = getUserTimezone() + export let fixed: string | undefined = undefined const dispatch = createEventDispatcher() @@ -80,11 +82,19 @@ class:flex-gap-2={direction === 'horizontal'} > {#if showDate || withoutTime} -