mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-01-28 05:06:13 +01:00
fix: icon and mobile textarea styling
This commit is contained in:
parent
23c050b54e
commit
867b3073d4
5 changed files with 197 additions and 38 deletions
|
|
@ -47,12 +47,13 @@ export const wrapperRegex = {
|
|||
};
|
||||
|
||||
export const getIconOfModel = ({ size=30, sender, isCreatedByUser, model, chatGptLabel, error, ...props }) => {
|
||||
const { button } = props;
|
||||
const bgColors = {
|
||||
chatgpt: 'rgb(16, 163, 127)',
|
||||
chatgptBrowser: 'rgb(25, 207, 207)',
|
||||
chatgpt: `rgb(16, 163, 127${ button ? ', 0.75' : ''})`,
|
||||
chatgptBrowser: `rgb(25, 207, 207${ button ? ', 0.75' : ''})`,
|
||||
bingai: 'transparent',
|
||||
sydney: 'radial-gradient(circle at 90% 110%, #F0F0FA, #D0E0F9)',
|
||||
chatgptCustom: 'rgb(0, 163, 255)',
|
||||
chatgptCustom: `rgb(0, 163, 255${ button ? ', 0.75' : ''})`,
|
||||
};
|
||||
|
||||
console.log(sender, isCreatedByUser, model, chatGptLabel, error, )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue