make content previews resizable

This commit is contained in:
shibao 2023-11-04 22:19:35 -04:00
parent 0a27a4ee29
commit be01723be2
4 changed files with 4 additions and 3 deletions

View File

@ -4,6 +4,7 @@
- Allow space as delimiter for tags - Allow space as delimiter for tags
- Add bottom padding to page - Add bottom padding to page
- Make pipeline step not require content - Make pipeline step not require content
- Make content previews resizable
# v0.1.12 # v0.1.12
- Code quality fixes - Code quality fixes

View File

@ -1,6 +1,6 @@
<div <div
id={"show-context-content-#{@context.id}"} id={"show-context-content-#{@context.id}"}
class="input input-primary h-128 min-h-128 inline-block whitespace-pre-wrap overflow-x-hidden overflow-y-auto" class="input input-primary h-128 min-h-128 inline-block whitespace-pre-wrap overflow-x-hidden overflow-y-auto resize-y"
phx-update="ignore" phx-update="ignore"
readonly readonly
phx-no-format phx-no-format

View File

@ -1,6 +1,6 @@
<div <div
id={"show-note-content-#{@note.id}"} id={"show-note-content-#{@note.id}"}
class="input input-primary h-128 min-h-128 inline-block whitespace-pre-wrap overflow-x-hidden overflow-y-auto" class="input input-primary h-128 min-h-128 inline-block whitespace-pre-wrap overflow-x-hidden overflow-y-auto resize-y"
phx-update="ignore" phx-update="ignore"
readonly readonly
phx-no-format phx-no-format

View File

@ -1,6 +1,6 @@
<div <div
id={"show-step-content-#{@step.id}"} id={"show-step-content-#{@step.id}"}
class="input input-primary h-32 min-h-32 inline-block whitespace-pre-wrap overflow-x-hidden overflow-y-auto" class="input input-primary h-32 min-h-32 inline-block whitespace-pre-wrap overflow-x-hidden overflow-y-auto resize-y"
phx-update="ignore" phx-update="ignore"
readonly readonly
phx-no-format phx-no-format