feat: add iconWidth support to site

This commit is contained in:
Airscript 2022-08-21 14:06:51 +00:00
parent 13e69e5662
commit 58ca3534dd
3 changed files with 4 additions and 1 deletions

View File

@ -163,6 +163,7 @@ params:
# text: "Home" # text: "Home"
# icon: icon.png # icon: icon.png
# iconHeight: 35 # iconHeight: 35
# iconWidth: 35
# analytics: # analytics:
# google: # google:

View File

@ -186,6 +186,7 @@ params:
text: "Home" text: "Home"
icon: /apple-touch-icon.png icon: /apple-touch-icon.png
iconHeight: 35 iconHeight: 35
iconWidth: 35
# profile-mode # profile-mode
profileMode: profileMode:

View File

@ -70,7 +70,8 @@ weight: 5
| ------------------ | ------- | ----------------------- | ------------------------------------------------ | | ------------------ | ------- | ----------------------- | ------------------------------------------------ |
| `label.text` | string | 'Home' | To display different label text other than title | | `label.text` | string | 'Home' | To display different label text other than title |
| `label.icon` | string | '/apple-touch-icon.png' | To display a logo image in label | | `label.icon` | string | '/apple-touch-icon.png' | To display a logo image in label |
| `label.iconHeight` | integer | 35 | To set size of label logo image | | `label.iconHeight` | integer | 35 | To set height of label logo image |
| `label.iconWidth` | integer | 35 | To set width of label logo image |
#### profileMode #### profileMode