mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2025-01-30 12:52:43 +08:00
fix(layout): overflow on horizontal direction
This commit is contained in:
parent
07556d80b1
commit
c44979eb94
@ -1,5 +1,11 @@
|
||||
# CHANGELOG
|
||||
|
||||
## Pending
|
||||
|
||||
### Fixes
|
||||
|
||||
- Fix `n-layout` overflow on horizontal direction.
|
||||
|
||||
## 2.7.1
|
||||
|
||||
# Feats
|
||||
|
@ -1,8 +1,14 @@
|
||||
# CHANGELOG
|
||||
|
||||
## Pending
|
||||
|
||||
### Fixes
|
||||
|
||||
- Fix `n-layout` 横向溢出的问题
|
||||
|
||||
## 2.7.1
|
||||
|
||||
# Feats
|
||||
### Feats
|
||||
|
||||
- `n-checkbox` 增加 `focusable` 属性
|
||||
- `n-cascader` 增加 `action` slot
|
||||
|
@ -10,17 +10,14 @@ export default cB('layout', `
|
||||
position: relative;
|
||||
z-index: auto;
|
||||
flex: auto;
|
||||
overflow-x: hidden;
|
||||
transition:
|
||||
margin-left .3s var(--bezier),
|
||||
background-color .3s var(--bezier),
|
||||
color .3s var(--bezier);
|
||||
`, [
|
||||
cE('content', `
|
||||
box-sizing: border-box;
|
||||
overflow-x: hidden;
|
||||
`),
|
||||
cM('has-sider', [
|
||||
c('& >', [
|
||||
c('>', [
|
||||
cE('content', `
|
||||
display: flex;
|
||||
flex-wrap: nowrap;
|
||||
|
Loading…
Reference in New Issue
Block a user