diff --git a/packages/theme/styles/_layouts.scss b/packages/theme/styles/_layouts.scss index 4affa10917..94b47748e0 100644 --- a/packages/theme/styles/_layouts.scss +++ b/packages/theme/styles/_layouts.scss @@ -565,6 +565,7 @@ input.search { .min-w-8 { min-width: 2rem; } .min-w-9 { min-width: 2.25rem; } .min-w-80 { min-width: 20rem; } +.min-w-168 { min-width: 42rem; } .min-w-min { min-width: min-content; } .min-h-0 { min-height: 0; } .min-h-2 { min-height: .5rem; } diff --git a/packages/theme/styles/popups.scss b/packages/theme/styles/popups.scss index 4dc3bb254b..56c78133e4 100644 --- a/packages/theme/styles/popups.scss +++ b/packages/theme/styles/popups.scss @@ -420,6 +420,7 @@ display: flex; flex-direction: column; padding: .5rem; + min-width: 22rem; min-height: 22rem; background: var(--popup-bg-color); border-radius: .5rem; diff --git a/packages/ui/src/components/Menu.svelte b/packages/ui/src/components/Menu.svelte index 94903278ea..f9e4356033 100644 --- a/packages/ui/src/components/Menu.svelte +++ b/packages/ui/src/components/Menu.svelte @@ -26,6 +26,7 @@ export let actions: Action[] = [] export let ctx: any = undefined export let popupCategory: Ref | undefined = undefined + export let addClass: string | undefined = undefined const dispatch = createEventDispatcher() const btns: HTMLElement[] = [] @@ -113,7 +114,7 @@
{ dispatch('changeContent') }} diff --git a/packages/ui/src/popups.ts b/packages/ui/src/popups.ts index 2b0af6ab1c..6564f851a3 100644 --- a/packages/ui/src/popups.ts +++ b/packages/ui/src/popups.ts @@ -255,19 +255,19 @@ export function fitPopupElement ( } else if (element === 'account') { newProps.bottom = '2.75rem' newProps.left = '5rem' - newProps.minWidth = newProps.maxWidth = '42rem' + newProps.maxWidth = '42rem' newProps.maxHeight = 'calc(100vh - 5.5rem)' show = true } else if (element === 'account-portrait') { newProps.bottom = 'calc(var(--app-panel-width) + .75rem)' newProps.right = '.5rem' - newProps.minWidth = newProps.maxWidth = 'calc(100vw - 1rem)' + newProps.maxWidth = 'calc(100vw - 1rem)' newProps.maxHeight = 'calc(100vh - var(--app-panel-width) - 1.5rem)' show = true } else if (element === 'account-mobile') { newProps.bottom = '.5rem' newProps.left = 'calc(var(--app-panel-width) + .5rem)' - newProps.minWidth = newProps.maxWidth = 'calc(100vw - var(--app-panel-width) - 1rem)' + newProps.maxWidth = 'calc(100vw - var(--app-panel-width) - 1rem)' newProps.maxHeight = 'calc(100vh - 1rem)' show = true } else if (element === 'full' && contentPanel === undefined) { diff --git a/plugins/calendar-resources/src/components/DocRemindersPopup.svelte b/plugins/calendar-resources/src/components/DocRemindersPopup.svelte index cc00145334..3051a28432 100644 --- a/plugins/calendar-resources/src/components/DocRemindersPopup.svelte +++ b/plugins/calendar-resources/src/components/DocRemindersPopup.svelte @@ -15,7 +15,7 @@ -
+