⬤ style: Uniform Display of Result-Streaming Cursor (#1842)

This commit is contained in:
Danny Avila 2024-02-19 22:55:58 -05:00 committed by GitHub
parent a8a19c6caa
commit 64e81392f2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1928,7 +1928,7 @@ html {
.result-streaming>:not(ol):not(ul):not(pre):last-child:after,
.result-streaming>pre:last-child code:after {
display: inline-block; /* Add this line */
display: inline-block;
content:"⬤";
width: 12px;
height: 12px;
@ -1939,11 +1939,6 @@ html {
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(*))) {
.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,
@ -1962,28 +1957,44 @@ html {
font-family:system-ui,Inter,Söhne Circle,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif;
line-height:normal;
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 {
content:"⬤";
font-family:system-ui,Inter,Söhne Circle,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif;
line-height:normal;
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 {
content:"⬤";
font-family:system-ui,Inter,Söhne Circle,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif;
line-height:normal;
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 {
content:"⬤";
font-family:system-ui,Inter,Söhne Circle,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif;
line-height:normal;
margin-left:.25rem;
vertical-align:baseline
vertical-align:middle;
font-size: 0.5rem;
display: inline-block;
width: 12px;
height: 12px;
}
}
@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;
line-height:normal;
margin-left:.25rem;
vertical-align:baseline
vertical-align:middle;
font-size: 0.5rem;
display: inline-block;
width: 12px;
height: 12px;
}
}