Skip to content

Enhanced ChatGPT Clone: Features Agents, MCP, Skills, DeepSeek, Anthropic, AWS, OpenAI, Responses API, Azure, Groq, o1, GPT-5, Mistral, OpenRouter, Vertex AI, Gemini, Artifacts, AI model switching, message search, Code Interpreter, langchain, DALL-E-3, OpenAPI Actions, Functions, Secure Multi-User Auth, Presets, open-source for self-hosting. Active

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

Danny Avila64e81392f28f
diff --git a/client/src/style.css b/client/src/style.css
index 0d17e88030..40d960af77 100644
--- a/client/src/style.css
+++ b/client/src/style.css
@@ -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;
}
}
\ No newline at end of file