Skip to content

Commit

Permalink
feat: improve Helm charts values.yaml popup (#909)
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 authored Oct 10, 2024
1 parent 8e11f93 commit d9b7ae1
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 d9b7ae1

Please sign in to comment.