-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1325 from easyops-cn/zekun/text-tooltip
style( eo-text-tooltip): 样式调整
- Loading branch information
Showing
2 changed files
with
27 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,33 @@ | ||
构件 `eo-text-tooltip` | ||
eo-text-tooltip | ||
|
||
## Examples | ||
|
||
### Basic | ||
|
||
```yaml preview | ||
brick: div | ||
properties: | ||
style: | ||
display: flex | ||
flex-direction: column | ||
gap: 16px | ||
children: | ||
- brick: eo-text-tooltip | ||
properties: | ||
style: | ||
width: 180px | ||
label: 不省略不省略不省略不省略不省略不省略不省略不省略不省略不省略不省略不省略 | ||
lineClamp: 0 | ||
- brick: eo-text-tooltip | ||
properties: | ||
style: | ||
width: 180px | ||
label: 单行不超出不显示tips | ||
lineClamp: 1 | ||
- brick: eo-text-tooltip | ||
properties: | ||
style: | ||
width: 180px | ||
label: 单行超出省略显示tips单行超出省略显示tips单行超出省略显示tips | ||
lineClamp: 1 | ||
- brick: div | ||
properties: | ||
style: | ||
display: flex | ||
flex-direction: column | ||
gap: 16px | ||
children: | ||
- brick: eo-text-tooltip | ||
properties: | ||
style: | ||
width: 180px | ||
label: 不省略不省略不省略不省略不省略不省略不省略不省略不省略不省略不省略不省略 | ||
lineClamp: 0 | ||
- brick: eo-text-tooltip | ||
properties: | ||
style: | ||
width: 180px | ||
label: 单行不超出不显示tips | ||
lineClamp: 1 | ||
- brick: eo-text-tooltip | ||
properties: | ||
style: | ||
width: 180px | ||
label: 单行超出省略显示tips单行超出省略显示tips单行超出省略显示tips | ||
lineClamp: 1 | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters