You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Params to pass to Card, like `header`, `header_background`, `header_color`, etc.""")
Unfortunately, it is impossible to send additional stylesheets, because the builtin ones are simply overwritten by whatever one passes through the chat feed:
#6154 added the ability to pass parameters to the
Card
though thepn.chat.ChatFeed
:panel/panel/chat/feed.py
Lines 155 to 156 in 00a45d7
Unfortunately, it is impossible to send additional
stylesheets
, because the builtin ones are simply overwritten by whatever one passes through the chat feed:panel/panel/chat/feed.py
Lines 270 to 272 in 00a45d7
To achieve that, one has to access the private attribute:
This is what we do over at Ragna.
Would it be possible to refactor how
card_params
are used internally to update the stylesheets rather than flat-out overwriting them?The text was updated successfully, but these errors were encountered: