mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-22 08:20:39 +00:00
UBERF-7747 Fix ref input max size (#6201)
Signed-off-by: Alexander Onnikov <Alexander.Onnikov@xored.com>
This commit is contained in:
parent
ce807a4a28
commit
6bd7d8bf9d
@ -323,7 +323,7 @@
|
|||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div class="no-print" bind:this={refContainer}>
|
<div class="flex-col no-print" bind:this={refContainer}>
|
||||||
<input
|
<input
|
||||||
bind:this={inputFile}
|
bind:this={inputFile}
|
||||||
disabled={inputFile == null}
|
disabled={inputFile == null}
|
||||||
@ -336,7 +336,7 @@
|
|||||||
/>
|
/>
|
||||||
<!-- svelte-ignore a11y-no-static-element-interactions -->
|
<!-- svelte-ignore a11y-no-static-element-interactions -->
|
||||||
<div
|
<div
|
||||||
class="container"
|
class="flex-col"
|
||||||
on:dragover|preventDefault={() => {}}
|
on:dragover|preventDefault={() => {}}
|
||||||
on:dragleave={() => {}}
|
on:dragleave={() => {}}
|
||||||
on:drop|preventDefault|stopPropagation={fileDrop}
|
on:drop|preventDefault|stopPropagation={fileDrop}
|
||||||
|
@ -783,7 +783,7 @@
|
|||||||
{/if}
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
{#if object}
|
{#if object}
|
||||||
<div class="ref-input">
|
<div class="ref-input flex-col">
|
||||||
<ActivityExtensionComponent
|
<ActivityExtensionComponent
|
||||||
kind="input"
|
kind="input"
|
||||||
{extensions}
|
{extensions}
|
||||||
@ -800,7 +800,9 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.ref-input {
|
.ref-input {
|
||||||
|
flex-shrink: 0;
|
||||||
margin: 1.25rem 1rem 1rem;
|
margin: 1.25rem 1rem 1rem;
|
||||||
|
max-height: 18.75rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.overlay {
|
.overlay {
|
||||||
|
@ -28,7 +28,7 @@
|
|||||||
import { createEventDispatcher } from 'svelte'
|
import { createEventDispatcher } from 'svelte'
|
||||||
import { FocusPosition } from '@tiptap/core'
|
import { FocusPosition } from '@tiptap/core'
|
||||||
import { EditorView } from '@tiptap/pm/view'
|
import { EditorView } from '@tiptap/pm/view'
|
||||||
import textEditor, { RefAction, TextEditorHandler, TextFormatCategory } from '@hcengineering/text-editor'
|
import textEditor, { RefAction, TextEditorHandler } from '@hcengineering/text-editor'
|
||||||
|
|
||||||
import { Completion } from '../Completion'
|
import { Completion } from '../Completion'
|
||||||
import TextEditor from './TextEditor.svelte'
|
import TextEditor from './TextEditor.svelte'
|
||||||
@ -246,13 +246,13 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.text-input {
|
.text-input {
|
||||||
max-height: 18.75rem;
|
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
min-height: 2.75rem;
|
min-height: 2.75rem;
|
||||||
padding: 0.125rem 0.75rem;
|
padding: 0.125rem 0.75rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.buttons-panel {
|
.buttons-panel {
|
||||||
|
flex-shrink: 0;
|
||||||
padding: 0.325rem 0.75rem;
|
padding: 0.325rem 0.75rem;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
Loading…
Reference in New Issue
Block a user