⬤ style: Uniform Display of Result-Streaming Cursor (#1842)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user