mirror of
https://github.com/nextcloud/server.git
synced 2026-06-08 16:26:59 -04:00
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:
commit
6e82b961ca
3 changed files with 8 additions and 8 deletions
|
|
@ -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
|
||||
|
|
|
|||
4
dist/core-unified-search.js
vendored
4
dist/core-unified-search.js
vendored
File diff suppressed because one or more lines are too long
2
dist/core-unified-search.js.map
vendored
2
dist/core-unified-search.js.map
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue