mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-13 23:16:37 +00:00
style: update chat new-messages button
This commit is contained in:
@@ -11,6 +11,7 @@ Docs: https://docs.openclaw.ai
|
|||||||
### Fixes
|
### Fixes
|
||||||
|
|
||||||
- Telegram: honor session model overrides in inline model selection. (#8193) Thanks @gildo.
|
- 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
|
## 2026.2.2-3
|
||||||
|
|
||||||
|
|||||||
@@ -1001,6 +1001,16 @@
|
|||||||
line-height: 1;
|
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 lines */
|
||||||
.chat-line {
|
.chat-line {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|||||||
@@ -347,7 +347,7 @@ export function renderChat(props: ChatProps) {
|
|||||||
props.showNewMessages
|
props.showNewMessages
|
||||||
? html`
|
? html`
|
||||||
<button
|
<button
|
||||||
class="chat-new-messages"
|
class="btn chat-new-messages"
|
||||||
type="button"
|
type="button"
|
||||||
@click=${props.onScrollToBottom}
|
@click=${props.onScrollToBottom}
|
||||||
>
|
>
|
||||||
|
|||||||
Reference in New Issue
Block a user