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
9 changes: 9 additions & 0 deletions js/chat/chat.scss
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ shiny-chat-message {
// images and avatars are full-bleed
height: 100%;
width: 100%;
max-width: 100%;
max-height: 100%;
margin: 0 !important;
object-fit: contain;
}
Expand All @@ -95,6 +97,13 @@ shiny-chat-message {
max-height: 66%;
max-width: 66%;
}

// Provide .border-0 as a way to opt-out of border container
&:has(> .border-0) {
border: none;
border-radius: unset;
overflow: unset;
}
}

/* Vertically center the 2nd column (message content) */
Expand Down
2 changes: 1 addition & 1 deletion shiny/www/py-shiny/chat/chat.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions shiny/www/py-shiny/chat/chat.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading