mirror of
https://github.com/openclaw/openclaw.git
synced 2026-02-08 21:09:23 +08:00
style: update chat new-messages button
This commit is contained in:
@@ -11,6 +11,7 @@ Docs: https://docs.openclaw.ai
|
||||
### Fixes
|
||||
|
||||
- Telegram: honor session model overrides in inline model selection. (#8193) Thanks @gildo.
|
||||
- Web UI: apply button styling to the new-messages indicator.
|
||||
|
||||
## 2026.2.2-3
|
||||
|
||||
|
||||
@@ -1001,6 +1001,16 @@
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
/* New messages indicator */
|
||||
.chat-new-messages {
|
||||
align-self: center;
|
||||
margin: 8px auto 0;
|
||||
border-radius: 999px;
|
||||
padding: 6px 12px;
|
||||
font-size: 12px;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
/* Chat lines */
|
||||
.chat-line {
|
||||
display: flex;
|
||||
|
||||
@@ -347,7 +347,7 @@ export function renderChat(props: ChatProps) {
|
||||
props.showNewMessages
|
||||
? html`
|
||||
<button
|
||||
class="chat-new-messages"
|
||||
class="btn chat-new-messages"
|
||||
type="button"
|
||||
@click=${props.onScrollToBottom}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user