diff options
| author | Frank <[email protected]> | 2025-10-10 16:42:27 -0400 |
|---|---|---|
| committer | Frank <[email protected]> | 2025-10-10 16:42:27 -0400 |
| commit | 48008f91ac9d11fef82f2149e5b937381780f577 (patch) | |
| tree | 53b7828e78af2ffdd6764e9333b3d4183ff33f95 | |
| parent | d8b3aa9382e98eba9609cb1344846c4354d0d4b6 (diff) | |
| download | opencode-48008f91ac9d11fef82f2149e5b937381780f577.tar.gz opencode-48008f91ac9d11fef82f2149e5b937381780f577.zip | |
wip: zen
| -rw-r--r-- | packages/console/app/src/routes/workspace/[id]/provider-section.module.css | 10 | ||||
| -rw-r--r-- | packages/console/app/src/routes/workspace/[id]/provider-section.tsx | 8 |
2 files changed, 13 insertions, 5 deletions
diff --git a/packages/console/app/src/routes/workspace/[id]/provider-section.module.css b/packages/console/app/src/routes/workspace/[id]/provider-section.module.css index b693de771..1a450d3dc 100644 --- a/packages/console/app/src/routes/workspace/[id]/provider-section.module.css +++ b/packages/console/app/src/routes/workspace/[id]/provider-section.module.css @@ -18,6 +18,14 @@ font-weight: normal; color: var(--color-text-muted); text-transform: uppercase; + + &:nth-child(1) { + width: 180px; + } + + &:nth-child(3) { + width: 200px; + } } td { @@ -35,7 +43,6 @@ &[data-slot="provider-key"] { text-align: left; color: var(--color-text-secondary); - width: 50%; [data-slot="edit-form"] { display: flex; @@ -82,7 +89,6 @@ &[data-slot="provider-action"] { text-align: left; font-family: var(--font-sans); - width: 30%; white-space: nowrap; [data-slot="configured-actions"] { diff --git a/packages/console/app/src/routes/workspace/[id]/provider-section.tsx b/packages/console/app/src/routes/workspace/[id]/provider-section.tsx index b83fd2634..6ec8477b4 100644 --- a/packages/console/app/src/routes/workspace/[id]/provider-section.tsx +++ b/packages/console/app/src/routes/workspace/[id]/provider-section.tsx @@ -147,9 +147,11 @@ function ProviderRow(props: { provider: Provider }) { > {saveSubmission.pending ? "Saving..." : "Save"} </button> - <button type="reset" data-color="ghost" onClick={() => hide()}> - Cancel - </button> + <Show when={!saveSubmission.pending}> + <button type="reset" data-color="ghost" onClick={() => hide()}> + Cancel + </button> + </Show> </div> </Show> </td> |
