Skip to content

Commit

Permalink
feat: improve Helm charts values.yaml popup
Browse files Browse the repository at this point in the history
- Added custom width (60vw) to Helm values.yaml dialog for better visibility.
- Enabled close modes: 'close' and 'mask' to improve user experience.

Closes #851

Signed-off-by: am6737 <1359816810@qq.com>
  • Loading branch information
am6737 committed Oct 4, 2024
1 parent 5704854 commit 8b8024d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/velaux-ui/src/components/HelmValueShow/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ const HelmValueShow: React.FC<Props> = (props: Props) => {
const [valueFile, setValueFile] = React.useState<string>('values.yaml');
return (
<Dialog
style={{ width: '60vw' }}
closeMode={["close", "mask"]}
className={'helmValueDialog'}
overflowScroll={true}
visible={true}
Expand Down

0 comments on commit 8b8024d

Please sign in to comment.