docs: Fix modal_max_width naming (#24719)

## Fixes `modal_max_width` doc.

The settings `modal_max_width` was `max_modal_width` in the doc.
This commit is contained in:
Adrien Tiburce 2025-02-12 14:15:25 +01:00 committed by GitHub
parent fc86e7cd51
commit e148815e04
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 6 deletions

View file

@ -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"

View file

@ -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