UNPKG

general-assistant

Version:

General Assistant components

79 lines (71 loc) 1.44 kB
/* .Message-author{ display: none !important; } */ .BackBottom{ display: none !important; } .right .Message-author{ display: none !important; } .msg-main { .Bubble { margin-right: 0 !important; margin-left: 0 !important; /* width: fit-content; */ @apply DS-GA-w-fit; /* max-width应在适应屏幕处设置 小屏100 中屏none */ } .msg-origin { background: rgba(var(--color-text-reverse), 0.9); border-radius: 20px; padding: 6px 15px; } } /* 文字超出 */ .o-text { width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .Message { .msg-main { /* width: fit-content; */ @apply DS-GA-w-fit; max-width: min(90%, 1200px); } .msg-main .Bubble { @apply DS-GA-max-w-full; overflow-wrap: anywhere; } } .Message.left { .msg-main .Bubble { /* max-width: 100%; */ background: rgba(var(--color-area-mode), 1); } } .Message.right { .msg-main .Bubble { background: rgba(var(--color-theme-shal), 0.2); .Bubble{ background: #fff; } } } .Message.right { .msg-main { /* width: fit-content; max-width: 90%; */ display: flex; flex-direction: column; align-content: flex-end; align-items: flex-end; /* padding: 10px 20px; */ /* border-radius: 10px; */ /* background-color: rgba(var(--color-theme-shal), 0.1); */ } /* .msg-main .Bubble { max-width: 100%; } */ }