diff --git a/app/components/global/input/Editor.vue b/app/components/global/input/Editor.vue index c825f88..ac0d508 100644 --- a/app/components/global/input/Editor.vue +++ b/app/components/global/input/Editor.vue @@ -6,7 +6,6 @@ import { PhArrowUDownRight, PhArrowUUpLeft, PhListBullets, PhListNumbers, PhQuot const props = defineProps<{ disableInlines?: boolean disableBlocks?: boolean - disableControls?: boolean }>() const model = defineModel() @@ -58,19 +57,10 @@ function clearFormatting() { @click.prevent="editor.chain().focus().toggleStrike().run()" :disabled="!editor.can().chain().focus().toggleStrike().run()" :variant="editor.isActive('strike') ? 'default' : 'secondary'" - class="size-7 rounded-none" - size="icon" - > - - - - - + @@ -104,12 +94,21 @@ function clearFormatting() { -
+
+ + + + @@ -234,6 +233,9 @@ function clearFormatting() { /* Basic editor styles */ .tiptap { padding-block: 0.75rem; + min-height: 7rem; + max-height: 12rem; + overflow-y: auto; :first-child { margin-top: 0;