chore: some doc & style fixes

This commit is contained in:
07akioni 2020-02-23 12:24:22 +08:00
parent 343ac039a3
commit f39af4f778
5 changed files with 5 additions and 4 deletions

View File

@ -1,5 +1,5 @@
# Controlled Sorter
If property `sortOrder` of one of column objects is set to `'ascend'`, `'descend'` or `false`. The sorter of table will be in controlled mode. If multiple columns' `sortOrder` are set to `'ascend'` or `'descend'`, only first column of them will be applied.
If one of the column objects' `sortOrder` is set to `'ascend'`, `'descend'` or `false`. The sorting behavior the table will be in a controlled manner. If multiple columns' `sortOrder` are set to `'ascend'` or `'descend'`, only first column of them will be applied.
```html
<n-button @click="sortName('ascend')">Sort By Name (Ascend)</n-button>
<n-button @click="sortName('descend')">Sort By Name (Descend)</n-button>

View File

@ -1,6 +1,6 @@
# Scroll
You can easily make log scroll to top or bottom. Also you can make the scroll action silent (don't trigger events of Log of this scroll action).
You can easily make log scroll to top or bottom. Also you can make the scroll action silent (don't trigger events of Log in this scroll action).
```html
<n-button-group>

View File

@ -43,7 +43,7 @@ duration
### NotificationEnvironment API
#### NotificationEnvironment Properties
Properties of Instance of NofiticationEnvironment can be dynamically set.
Properties of NofiticationEnvironment Instance can be dynamically set.
|Name|Type|Description|
|-|-|-|

View File

@ -14,7 +14,7 @@
border-top-left-radius: 6px;
border-top-right-radius: 6px;
overflow: hidden;
line-height: 1.75;
line-height: 1.5;
}
@include b(data-table-table-wrapper) {
@include once {

View File

@ -3,6 +3,7 @@
@include themes-mixin {
@include b(table) {
@include once {
line-height: 1.75;
font-size: 14px;
width: 100%;
border-radius: 6px 6px 0 0;