mirror of
https://github.com/hcengineering/platform.git
synced 2024-11-22 03:14:40 +03: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>
|
||||
|
||||
<div class="no-print" bind:this={refContainer}>
|
||||
<div class="flex-col no-print" bind:this={refContainer}>
|
||||
<input
|
||||
bind:this={inputFile}
|
||||
disabled={inputFile == null}
|
||||
@ -336,7 +336,7 @@
|
||||
/>
|
||||
<!-- svelte-ignore a11y-no-static-element-interactions -->
|
||||
<div
|
||||
class="container"
|
||||
class="flex-col"
|
||||
on:dragover|preventDefault={() => {}}
|
||||
on:dragleave={() => {}}
|
||||
on:drop|preventDefault|stopPropagation={fileDrop}
|
||||
|
@ -783,7 +783,7 @@
|
||||
{/if}
|
||||
</div>
|
||||
{#if object}
|
||||
<div class="ref-input">
|
||||
<div class="ref-input flex-col">
|
||||
<ActivityExtensionComponent
|
||||
kind="input"
|
||||
{extensions}
|
||||
@ -800,7 +800,9 @@
|
||||
}
|
||||
|
||||
.ref-input {
|
||||
flex-shrink: 0;
|
||||
margin: 1.25rem 1rem 1rem;
|
||||
max-height: 18.75rem;
|
||||
}
|
||||
|
||||
.overlay {
|
||||
|
@ -28,7 +28,7 @@
|
||||
import { createEventDispatcher } from 'svelte'
|
||||
import { FocusPosition } from '@tiptap/core'
|
||||
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 TextEditor from './TextEditor.svelte'
|
||||
@ -246,13 +246,13 @@
|
||||
}
|
||||
|
||||
.text-input {
|
||||
max-height: 18.75rem;
|
||||
overflow: auto;
|
||||
min-height: 2.75rem;
|
||||
padding: 0.125rem 0.75rem;
|
||||
}
|
||||
|
||||
.buttons-panel {
|
||||
flex-shrink: 0;
|
||||
padding: 0.325rem 0.75rem;
|
||||
}
|
||||
</style>
|
||||
|
Loading…
Reference in New Issue
Block a user