Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion js/dist/shinychat.css

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions js/dist/shinychat.css.map

Large diffs are not rendered by default.

18 changes: 6 additions & 12 deletions js/src/chat/chat.scss
Original file line number Diff line number Diff line change
Expand Up @@ -203,20 +203,9 @@ shiny-chat-container {
bottom: calc(-1 * var(--_input-padding-bottom));
padding-block: var(--_input-padding-top) var(--_input-padding-bottom);

textarea {
--bs-border-radius: 26px;
resize: none;
padding-right: 36px !important;
padding-left: 36px !important;
max-height: 175px;
&::placeholder {
color: var(--bs-gray-600, #707782) !important;
}
}
.tiptap {
--bs-border-radius: 26px;
padding-right: 36px !important;
padding-left: 36px !important;
max-height: 175px;
overflow-y: auto;
&.is-empty::before {
Expand All @@ -227,13 +216,18 @@ shiny-chat-container {
pointer-events: none;
}
}
// Only reserve left space when the attach button is actually rendered
&:has(.shiny-chat-btn-attach) {
.tiptap {
padding-left: 36px !important;
}
}
Comment thread
cpsievert marked this conversation as resolved.
// When images are attached, group the thumbnail tray and the text field into
// a single bordered, tinted shell so they read as one control.
&:has(.shiny-chat-input-attachments) {
border: 1px solid var(--bs-border-color, #ced4da);
border-radius: 20px;

textarea,
.tiptap {
border-color: transparent !important;
background: transparent !important;
Expand Down
2 changes: 1 addition & 1 deletion pkg-py/src/shinychat/www/GIT_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1d87b2928bc62de01717ae6d92a59c88c22b8780
edc4b29a636a2dfddfffc41d141644d664830b11
2 changes: 1 addition & 1 deletion pkg-py/src/shinychat/www/shinychat.css

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions pkg-py/src/shinychat/www/shinychat.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pkg-r/inst/lib/shiny/GIT_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1d87b2928bc62de01717ae6d92a59c88c22b8780
edc4b29a636a2dfddfffc41d141644d664830b11
2 changes: 1 addition & 1 deletion pkg-r/inst/lib/shiny/shinychat.css

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions pkg-r/inst/lib/shiny/shinychat.css.map

Large diffs are not rendered by default.

Loading