Skip to content

Instantly share code, notes, and snippets.

@verfasor
Created April 5, 2023 12:19
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save verfasor/ea08d242a4d1411c4354976f50a90bd7 to your computer and use it in GitHub Desktop.
Save verfasor/ea08d242a4d1411c4354976f50a90bd7 to your computer and use it in GitHub Desktop.
mwai-ios-light.css
.mwai-name .mwai-avatar {
display:none !important;
}
.mwai-name .mwai-avatar {
display:none !important;
}
.mwai-input {
border-top: none !important;
margin: -10px;
}
.mwai-conversation {
width: 100%;
padding: 5px;
margin-bottom:10px;
overflow: hidden !important;
}
@media (max-width: 620px) {
.mwai-chat .mwai-ai, {
margin-right: 20% !important;
}
.mwai-chat .mwai-user {
margin-left: 10% !important;
}
}
.mwai-chat .mwai-ai code {
font-size:1rem;
font-family:monospace !important;
scrollbar-color: #666 #343541;
}
@media (max-width: 620px) {
.mwai-chat .mwai-ai code {
font-size:0.9rem;
}
}
.mwai-conversation {
display: flex;
flex-direction: column;
}
@media (max-width: 620px) { .mwai-text table {
width: 100% !important;
}
}
@media (min-width: 620px) {
.mwai-chat .mwai-ai,
.mwai-chat .mwai-user {
max-width: 580px !important;
}
}
@media (min-width: 620px) {
.mwai-text pre {
max-width: 500px !important;
}
}
.mwai-text pre {
color:white !important;
}
.mwai-chat .mwai-ai,
.mwai-chat .mwai-user {
max-width: 100%;
word-wrap: break-word;
position: relative;
&:before, &:after {
content: "";
position: absolute !important;
bottom: 0;
height: 25px;
}
}
.mwai-chat .mwai-ai {
align-self: flex-start;
}
.mwai-chat .mwai-user {
align-self: flex-end;
}
.mwai-chat .mwai-ai {
background-color: #E5E5EA !important;
position: relative;
border-radius: 20px;
padding: 9px 15px !important;
margin-top: 15px;
margin-bottom: 15px;
display: inline-block;
color:#000;
font-weight:500;
}
.mwai-chat .mwai-ai::before {
content: "";
position: absolute;
z-index: 0;
bottom: 0;
left: -7px;
height: 20px;
width: 20px;
background: #E5E5EA ;
border-bottom-right-radius: 15px;
}
.mwai-chat .mwai-ai::after {
content: "";
position: absolute;
z-index: 1;
bottom: 0;
left: -10px;
width: 10px;
height: 20px;
background: #fff;
border-bottom-right-radius: 10px;
}
.mwai-chat .mwai-user {
background: #0071e3 !important;
background-attachment: scroll;
background-attachment: fixed;
position: relative;
border-radius: 20px;
padding: 9px 15px !important;
margin-top: 15px;
margin-bottom: 15px;
display: inline-block;
color:white;
font-weight:500;
}
.mwai-chat .mwai-user::before {
content: "";
position: absolute;
z-index: 0;
bottom: 0;
right: -8px;
height: 20px;
width: 20px;
background: #0071e3 !important;
background-attachment: scroll;
background-attachment: fixed;
border-bottom-left-radius: 15px;
}
.mwai-chat .mwai-user::after {
content: "";
position: absolute;
z-index: 1;
bottom: 0;
right: -10px;
width: 10px;
height: 20px;
background: #fff;
border-bottom-left-radius: 10px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment