滚动条增加默认最小宽度为100%

master
yutent 2023-04-06 11:18:28 +08:00
parent f033131798
commit f0e83b3ec0
2 changed files with 2 additions and 1 deletions

View File

@ -349,7 +349,7 @@ class Layer extends Component {
switch (this.type) {
case 'alert':
this.$refs.box.$animate(true).then(_ => this.close())
this.#intercept(null)
break
case 'confirm':

View File

@ -40,6 +40,7 @@ class Scroll extends Component {
}
}
.content {
min-width: 100%;
width: fit-content;
height: fit-content;
}