Files
qwen-code/packages/web-shell/client/components/UnavailableModelTooltip.module.css
240eecf617 feat(web-shell): allow hosts to inject disabled catalog models (#15015)
* feat(web-shell): allow hosts to inject disabled catalog models

Hosts can show product models that are not currently usable in the composer picker, with a framework-neutral hover slot for text or authorize actions.

Co-authored-by: Cursor <[email protected]>

* docs(web-shell): add unavailable-model picker screenshots

Co-authored-by: Cursor <[email protected]>

* fix(web-shell): polish unavailable-model tooltip card

Co-authored-by: Cursor <[email protected]>

* fix(web-shell): make unavailable models look disabled

Co-authored-by: Cursor <[email protected]>

* fix(ci): isolate script fixtures and reuse runtime archives

* test(cli): bound command budget fixture work and drain timed-out writes

---------

Co-authored-by: Ethan Ye <[email protected]>
Co-authored-by: Cursor <[email protected]>
2026-10-22 07:09:59 +00:00

44 lines
799 B
CSS

.card:global([data-web-shell-toolbar-popover]) {
box-sizing: border-box;
width: min(280px, calc(100vw - 24px));
min-width: min(240px, calc(100vw - 24px));
padding: 14px 16px;
gap: 10px;
overflow: visible;
border-radius: 12px;
}
.header {
min-width: 0;
gap: 6px;
}
.header :global([data-slot='popover-title']) {
color: var(--popover-foreground);
font-size: 14px;
font-weight: 600;
line-height: 20px;
}
.header :global([data-slot='popover-description']) {
color: var(--muted-foreground);
font-size: 13px;
font-weight: 400;
line-height: 20px;
}
.host {
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 10px;
min-width: 0;
color: var(--muted-foreground);
font-size: 13px;
line-height: 20px;
}
.host[hidden] {
display: none;
}