Skip to content

Commit 38437c5

Browse files
committed
Add max-height/max-width to all icons
1 parent 287fee0 commit 38437c5

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

js/chat/chat.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,8 @@ shiny-chat-message {
8383
// images and avatars are full-bleed
8484
height: 100%;
8585
width: 100%;
86+
max-width: 100%;
87+
max-height: 100%;
8688
margin: 0 !important;
8789
object-fit: contain;
8890
}

shiny/www/py-shiny/chat/chat.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

shiny/www/py-shiny/chat/chat.css.map

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)