Skip to content

Commit 65d59d2

Browse files
committed
Add .border-0 class that can be put on custom icons to opt-out of icon border
1 parent 1cf74c1 commit 65d59d2

File tree

3 files changed

+14
-3
lines changed

3 files changed

+14
-3
lines changed

js/chat/chat.scss

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,17 @@ shiny-chat-message {
9696
max-height: 66%;
9797
max-width: 66%;
9898
}
99+
100+
// Provide .border-0 as a way to opt-out of border container
101+
&:has(> .border-0) {
102+
border: none;
103+
border-radius: unset;
104+
overflow: unset;
105+
}
106+
> .border-0 {
107+
max-height: 100%;
108+
max-width: 100%;
109+
}
99110
}
100111

101112
/* Vertically center the 2nd column (message content) */

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)