Merge pull request #54499 from nextcloud/backport/54434/stable31

[stable31] fix(core): unified search is cut off on small window
This commit is contained in:
Ferdinand Thiessen 2025-08-19 17:43:42 +02:00 committed by GitHub
commit 6e82b961ca
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 8 additions and 8 deletions

View file

@ -5,6 +5,7 @@
<template>
<NcDialog id="unified-search"
ref="unifiedSearchModal"
class="unified-search-modal-root"
content-classes="unified-search-modal__content"
dialog-classes="unified-search-modal"
:name="t('core', 'Unified search')"
@ -708,13 +709,12 @@ export default defineComponent({
</script>
<style lang="scss" scoped>
:deep(.unified-search-modal .unified-search-modal__content) {
--dialog-height: min(80vh, 800px);
.unified-search-modal-root :deep(.modal-container) {
box-sizing: border-box;
height: var(--dialog-height);
max-height: var(--dialog-height);
min-height: var(--dialog-height);
height: min(80vh, 800px);
}
:deep(.unified-search-modal .unified-search-modal__content) {
display: flex;
flex-direction: column;
// No padding to prevent scrollbar misplacement

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long