Skip to content

Commit

Permalink
Add max-height/max-width to all icons
Browse files Browse the repository at this point in the history
  • Loading branch information
cpsievert committed Feb 28, 2025
1 parent 287fee0 commit 38437c5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 2 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 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.

0 comments on commit 38437c5

Please sign in to comment.