mirror of
https://github.com/nextcloud/server.git
synced 2026-04-21 14:23:17 -04:00
fix(core): unified search is cut off on small window
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
This commit is contained in:
parent
75d9aaa3b5
commit
501fa4de05
1 changed files with 5 additions and 5 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')"
|
||||
|
|
@ -736,13 +737,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
|
||||
|
|
|
|||
Loading…
Reference in a new issue