mirror of
https://github.com/langgenius/dify.git
synced 2026-08-31 04:53:19 +08:00
The secret-key modal rendered the header and the rows in separate containers with fixed pixel column widths. Adding the Scope column pushed the total width past the modal, so the body scrolled horizontally on its own and desynced from the fixed header. Switch to proportional flex columns (header and rows share the same weights) with min-w-0 + truncate, and constrain the body to vertical scroll only. Columns now always fit the modal width, so the header and values stay aligned. The scope cell gains a title tooltip for the full label when truncated. |
||
|---|---|---|
| .. | ||
| __tests__ | ||
| assets | ||
| input-copy.tsx | ||
| secret-key-button.tsx | ||
| secret-key-generate.tsx | ||
| secret-key-modal.tsx | ||
| style.module.css | ||