Correct position options in ReadMe

This commit is contained in:
Jono Menz 2020-12-14 14:07:09 -08:00 committed by GitHub
parent 5d7e7b0087
commit 3d3a7baa19
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 9 deletions

View File

@ -49,10 +49,10 @@ public function showBetterNavigator()
You can mark certain CMS users as developers in your site's config, so they can access developer tools when logged in. Example YAML: You can mark certain CMS users as developers in your site's config, so they can access developer tools when logged in. Example YAML:
``` ```
BetterNavigator: BetterNavigator:
developers: developers:
- 'dev@yoursite.com' - 'dev@yoursite.com'
- 'otherdev@yoursite.com' - 'otherdev@yoursite.com'
``` ```
## Customisation ## Customisation
@ -60,15 +60,15 @@ You can mark certain CMS users as developers in your site's config, so they can
BetterNavigator can be made translucent when collapsed by adding the following config setting: BetterNavigator can be made translucent when collapsed by adding the following config setting:
``` ```
BetterNavigator: BetterNavigator:
translucent: true translucent: true
``` ```
BetterNavigator position can be set to 'top-right', 'top-left', 'bottom-right' or 'bottom-left' by adding the following config setting: BetterNavigator's default position is 'right-top', but can be changed to 'right-bottom', 'left-top' or 'left-bottom'. Example:
``` ```
BetterNavigator: BetterNavigator:
position: 'bottom-right' position: 'right-bottom'
``` ```
BetterNavigator's output is controlled by templates so it can be [easily overridden](http://doc.silverstripe.org/framework/en/topics/theme-development#overriding). BetterNavigator's output is controlled by templates so it can be [easily overridden](http://doc.silverstripe.org/framework/en/topics/theme-development#overriding).