fix(color-picker): value has line wrap

This commit is contained in:
07akioni 2021-04-21 16:36:25 +08:00
parent 97f2d439b5
commit 4bd297224e
3 changed files with 16 additions and 1 deletions

View File

@ -1,5 +1,11 @@
# CHANGELOG
## Pending
### Fixes
- Fix `n-color-picker` value has line wrap.
## 2.7.2
## Feats

View File

@ -1,5 +1,11 @@
# CHANGELOG
## Pending
### Fixes
- 修正 `n-color-picker` 值折行
## 2.7.2
## Feats

View File

@ -145,7 +145,10 @@ export default c([
transition: border-color .3s var(--bezier);
cursor: pointer;
`, [
cE('value', 'position: relative;'),
cE('value', `
white-space: nowrap;
position: relative;
`),
cE('fill', `
border-radius: var(--border-radius);
position: absolute;