mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2025-01-30 12:52:43 +08:00
chore: some doc & style fixes
This commit is contained in:
parent
343ac039a3
commit
f39af4f778
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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|
|
||||
|-|-|-|
|
||||
|
@ -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 {
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user