From e148815e04ffb6b56e5430465cd6529920b71e5e Mon Sep 17 00:00:00 2001 From: Adrien Tiburce <34744867+adrientiburce@users.noreply.github.com> Date: Wed, 12 Feb 2025 14:15:25 +0100 Subject: [PATCH] docs: Fix `modal_max_width` naming (#24719) ## Fixes `modal_max_width` doc. The settings `modal_max_width` was `max_modal_width` in the doc. --- assets/settings/default.json | 10 +++++----- docs/src/configuring-zed.md | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/assets/settings/default.json b/assets/settings/default.json index 2b07b3610a5ed3..a6b43ea405f2b0 100644 --- a/assets/settings/default.json +++ b/assets/settings/default.json @@ -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" diff --git a/docs/src/configuring-zed.md b/docs/src/configuring-zed.md index 91cd144406937d..e1817cca02c5a1 100644 --- a/docs/src/configuring-zed.md +++ b/docs/src/configuring-zed.md @@ -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