diff --git a/packages/presentation/src/components/EditAvatarPopup.svelte b/packages/presentation/src/components/EditAvatarPopup.svelte index bdbe75c601..6ac76c35c5 100644 --- a/packages/presentation/src/components/EditAvatarPopup.svelte +++ b/packages/presentation/src/components/EditAvatarPopup.svelte @@ -91,7 +91,7 @@ } .root { - position: fixed; + position: absolute; top: 0; bottom: 0; left: 0; diff --git a/packages/presentation/src/components/EditableAvatar.svelte b/packages/presentation/src/components/EditableAvatar.svelte index c608b1c763..0463b21e87 100644 --- a/packages/presentation/src/components/EditableAvatar.svelte +++ b/packages/presentation/src/components/EditableAvatar.svelte @@ -38,7 +38,7 @@ } else { return inputRef.click() } - showPopup(EditAvatarPopup, { file }, undefined, (blob) => { + showPopup(EditAvatarPopup, { file }, 'full', (blob) => { if (blob === undefined) { return } diff --git a/packages/theme/src/Theme.svelte b/packages/theme/src/Theme.svelte index 528ab1948e..c36126e869 100644 --- a/packages/theme/src/Theme.svelte +++ b/packages/theme/src/Theme.svelte @@ -53,11 +53,16 @@ } }) + const setDocumentLanguage = (): void => { + document.documentElement.lang = currentLanguage + } + onMount(() => { setRootColors(currentTheme) setRootFontSize(currentFontSize) setMetadata(platform.metadata.locale, currentLanguage) loadPluginStrings(currentLanguage) + setDocumentLanguage() }) diff --git a/packages/theme/styles/_layouts.scss b/packages/theme/styles/_layouts.scss index 5bab0d4371..b9e9fa0546 100644 --- a/packages/theme/styles/_layouts.scss +++ b/packages/theme/styles/_layouts.scss @@ -94,6 +94,9 @@ p:first-child { margin-block-start: 0; } // First and last padding p:last-child { margin-block-end: 0; } .p-inline { + overflow-wrap: break-word; + word-wrap: break-word; + hyphens: auto; line-height: 150%; a { word-break: break-all; diff --git a/packages/ui/src/components/PanelInstance.svelte b/packages/ui/src/components/PanelInstance.svelte index 7284a346c7..314c77aa66 100644 --- a/packages/ui/src/components/PanelInstance.svelte +++ b/packages/ui/src/components/PanelInstance.svelte @@ -80,7 +80,7 @@ if ((fullSize || docSize) && (props.element === 'float' || props.element === 'content')) { options = fitPopupElement(modalHTML, 'full') options.props.width = '100vw' - options.props.maxHeight = 'max-content' + options.props.maxHeight = '100vh' options.showOverlay = false modalHTML.classList.add('fullsize') } else { @@ -142,6 +142,7 @@ style:max-width={options.props.maxWidth} style:max-height={options.props.maxHeight} style:min-width={options.props.minWidth} + style:transform={options.props.transform} >