mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-18 17:30:16 +01:00
⬤ style: Uniform Display of Result-Streaming Cursor (#1842)
This commit is contained in:
parent
a8a19c6caa
commit
64e81392f2
1 changed files with 26 additions and 11 deletions
|
|
@ -1928,7 +1928,7 @@ html {
|
||||||
|
|
||||||
.result-streaming>:not(ol):not(ul):not(pre):last-child:after,
|
.result-streaming>:not(ol):not(ul):not(pre):last-child:after,
|
||||||
.result-streaming>pre:last-child code:after {
|
.result-streaming>pre:last-child code:after {
|
||||||
display: inline-block; /* Add this line */
|
display: inline-block;
|
||||||
content:"⬤";
|
content:"⬤";
|
||||||
width: 12px;
|
width: 12px;
|
||||||
height: 12px;
|
height: 12px;
|
||||||
|
|
@ -1939,11 +1939,6 @@ html {
|
||||||
font-size: 0.5rem;
|
font-size: 0.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.result-streaming>pre:last-child code {
|
|
||||||
background: url('path-to-circle-image') no-repeat right center;
|
|
||||||
padding-right: 1em; /* Adjust as necessary */
|
|
||||||
}
|
|
||||||
|
|
||||||
@supports (selector(:has(*))) {
|
@supports (selector(:has(*))) {
|
||||||
.result-streaming>ol:last-child>li:last-child>ol:last-child>li:last-child:after,
|
.result-streaming>ol:last-child>li:last-child>ol:last-child>li:last-child:after,
|
||||||
.result-streaming>ol:last-child>li:last-child>ol:last-child>li:last-child>ol:last-child>li:last-child:after,
|
.result-streaming>ol:last-child>li:last-child>ol:last-child>li:last-child>ol:last-child>li:last-child:after,
|
||||||
|
|
@ -1962,28 +1957,44 @@ html {
|
||||||
font-family:system-ui,Inter,Söhne Circle,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif;
|
font-family:system-ui,Inter,Söhne Circle,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif;
|
||||||
line-height:normal;
|
line-height:normal;
|
||||||
margin-left:.25rem;
|
margin-left:.25rem;
|
||||||
vertical-align:baseline
|
vertical-align:middle;
|
||||||
|
font-size: 0.5rem;
|
||||||
|
display: inline-block;
|
||||||
|
width: 12px;
|
||||||
|
height: 12px;
|
||||||
}
|
}
|
||||||
.result-streaming>ul:last-child>li:last-child:not(:has(*>li)):after {
|
.result-streaming>ul:last-child>li:last-child:not(:has(*>li)):after {
|
||||||
content:"⬤";
|
content:"⬤";
|
||||||
font-family:system-ui,Inter,Söhne Circle,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif;
|
font-family:system-ui,Inter,Söhne Circle,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif;
|
||||||
line-height:normal;
|
line-height:normal;
|
||||||
margin-left:.25rem;
|
margin-left:.25rem;
|
||||||
vertical-align:baseline
|
vertical-align:middle;
|
||||||
|
font-size: 0.5rem;
|
||||||
|
display: inline-block;
|
||||||
|
width: 12px;
|
||||||
|
height: 12px;
|
||||||
}
|
}
|
||||||
.result-streaming>ol:last-child>li:last-child[*|\:not-has\(]:after {
|
.result-streaming>ol:last-child>li:last-child[*|\:not-has\(]:after {
|
||||||
content:"⬤";
|
content:"⬤";
|
||||||
font-family:system-ui,Inter,Söhne Circle,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif;
|
font-family:system-ui,Inter,Söhne Circle,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif;
|
||||||
line-height:normal;
|
line-height:normal;
|
||||||
margin-left:.25rem;
|
margin-left:.25rem;
|
||||||
vertical-align:baseline
|
vertical-align:middle;
|
||||||
|
font-size: 0.5rem;
|
||||||
|
display: inline-block;
|
||||||
|
width: 12px;
|
||||||
|
height: 12px;
|
||||||
}
|
}
|
||||||
.result-streaming>ol:last-child>li:last-child:not(:has(*>li)):after {
|
.result-streaming>ol:last-child>li:last-child:not(:has(*>li)):after {
|
||||||
content:"⬤";
|
content:"⬤";
|
||||||
font-family:system-ui,Inter,Söhne Circle,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif;
|
font-family:system-ui,Inter,Söhne Circle,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif;
|
||||||
line-height:normal;
|
line-height:normal;
|
||||||
margin-left:.25rem;
|
margin-left:.25rem;
|
||||||
vertical-align:baseline
|
vertical-align:middle;
|
||||||
|
font-size: 0.5rem;
|
||||||
|
display: inline-block;
|
||||||
|
width: 12px;
|
||||||
|
height: 12px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@supports not (selector(:has(*))) {
|
@supports not (selector(:has(*))) {
|
||||||
|
|
@ -1993,6 +2004,10 @@ html {
|
||||||
font-family:system-ui,Inter,Söhne Circle,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif;
|
font-family:system-ui,Inter,Söhne Circle,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif;
|
||||||
line-height:normal;
|
line-height:normal;
|
||||||
margin-left:.25rem;
|
margin-left:.25rem;
|
||||||
vertical-align:baseline
|
vertical-align:middle;
|
||||||
|
font-size: 0.5rem;
|
||||||
|
display: inline-block;
|
||||||
|
width: 12px;
|
||||||
|
height: 12px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue