Add datetime input

This commit is contained in:
Jon Staab
2024-09-12 16:56:33 -07:00
parent 6d9325dab4
commit 0d53934152
9 changed files with 156 additions and 69 deletions
+23 -1
View File
@@ -92,8 +92,21 @@
/* tiptap */
.input-editor, .chat-editor {
@apply p-1 -m-1 min-h-12;
}
.tiptap[contenteditable="true"] {
@apply max-h-[350px] overflow-y-auto rounded-box bg-base-300 p-2 px-4;
@apply max-h-[350px] overflow-y-auto p-2 px-4;
}
.chat-editor .tiptap[contenteditable="true"] {
@apply rounded-box bg-base-300;
}
.input-editor .tiptap[contenteditable="true"] {
@apply input input-bordered p-[.65rem] h-auto;
}
.tiptap pre code {
@@ -111,3 +124,12 @@
.link-content.link-content-selected {
@apply bg-primary text-primary-content;
}
/* date input */
.date-time-field {
@apply input input-bordered px-0 rounded;
}
.date-time-field input {
@apply !bg-inherit !border-none !text-inherit !w-full !h-full;
}