Skip to content

Commit

Permalink
docs: Fix modal_max_width naming (zed-industries#24719)
Browse files Browse the repository at this point in the history
## Fixes `modal_max_width` doc.

The settings `modal_max_width` was `max_modal_width` in the doc.
  • Loading branch information
adrientiburce authored Feb 12, 2025
1 parent fc86e7c commit e148815
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions assets/settings/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -652,15 +652,15 @@
// There are 5 possible width values:
//
// 1. Small: This value is essentially a fixed width.
// "modal_width": "small"
// "modal_max_width": "small"
// 2. Medium:
// "modal_width": "medium"
// "modal_max_width": "medium"
// 3. Large:
// "modal_width": "large"
// "modal_max_width": "large"
// 4. Extra Large:
// "modal_width": "xlarge"
// "modal_max_width": "xlarge"
// 5. Fullscreen: This value removes any horizontal padding, as it consumes the whole viewport width.
// "modal_width": "full"
// "modal_max_width": "full"
//
// Default: small
"modal_max_width": "small"
Expand Down
2 changes: 1 addition & 1 deletion docs/src/configuring-zed.md
Original file line number Diff line number Diff line change
Expand Up @@ -1574,7 +1574,7 @@ Or to set a `socks5` proxy:
### Modal Max Width

- Description: Max-width of the file finder modal. It can take one of these values: `small`, `medium`, `large`, `xlarge`, and `full`.
- Setting: `max_modal_width`
- Setting: `modal_max_width`
- Default: `small`

## Preferred Line Length
Expand Down

0 comments on commit e148815

Please sign in to comment.