qwen-code/packages/web-shell/client/components/dialogs/RewindDialog.module.css
ytahdn a384c4a21a
feat(web-shell): polish chat UI (#5893)
* style(web-shell): polish chat UI

* fix(web-shell): address chat polish review feedback

---------

Co-authored-by: ytahdn <ytahdn@gmail.com>
2026-06-26 15:38:23 +00:00

72 lines
1 KiB
CSS

.root {
display: flex;
flex-direction: column;
min-height: 0;
height: 100%;
}
.list {
flex: 1;
min-height: 0;
overflow-y: auto;
padding: 4px 0;
}
.item {
display: grid;
grid-template-columns: minmax(0, 1fr) auto;
align-items: center;
gap: 12px;
width: calc(100% - 16px);
margin: 1px 8px;
padding: 8px;
border: 0;
border-radius: 6px;
background: transparent;
color: var(--foreground);
font: inherit;
text-align: left;
cursor: pointer;
}
.item:hover,
.itemSelected {
background: var(--secondary);
}
.item:disabled {
cursor: default;
opacity: 0.6;
}
.prompt {
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
color: var(--foreground);
font-size: 13px;
}
.turn {
color: var(--agent-blue-500);
font-weight: 500;
}
.time {
color: var(--muted-foreground);
font-size: 12px;
white-space: nowrap;
}
.footer {
display: flex;
justify-content: flex-end;
gap: 8px;
padding: 10px 8px 0;
}
.dangerButton {
border-color: var(--error-color);
color: var(--error-color);
}