滚动条增加默认最小宽度为100%
parent
f033131798
commit
f0e83b3ec0
|
@ -349,7 +349,7 @@ class Layer extends Component {
|
||||||
|
|
||||||
switch (this.type) {
|
switch (this.type) {
|
||||||
case 'alert':
|
case 'alert':
|
||||||
this.$refs.box.$animate(true).then(_ => this.close())
|
this.#intercept(null)
|
||||||
break
|
break
|
||||||
|
|
||||||
case 'confirm':
|
case 'confirm':
|
||||||
|
|
|
@ -40,6 +40,7 @@ class Scroll extends Component {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.content {
|
.content {
|
||||||
|
min-width: 100%;
|
||||||
width: fit-content;
|
width: fit-content;
|
||||||
height: fit-content;
|
height: fit-content;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue