|
@@ -626,11 +626,11 @@ export default {
|
|
|
if (val) {
|
|
|
setTimeout(() => {
|
|
|
_this.cardHeight = _this.$refs.notecard.offsetHeight;
|
|
|
- // if (_this.screenHeight - _this.clientY > _this.cardHeight) {
|
|
|
- // _this.top = _this.clientY + 20;
|
|
|
- // } else {
|
|
|
- // _this.top = _this.clientY - _this.cardHeight - 30;
|
|
|
- // }
|
|
|
+ if (_this.screenHeight - _this.clientY > _this.cardHeight) {
|
|
|
+ _this.top = _this.clientY + 20;
|
|
|
+ } else {
|
|
|
+ _this.top = _this.clientY - _this.cardHeight - 30;
|
|
|
+ }
|
|
|
}, 50);
|
|
|
}
|
|
|
},
|
|
@@ -1239,6 +1239,7 @@ export default {
|
|
|
> div {
|
|
|
display: flex;
|
|
|
justify-content: center;
|
|
|
+ flex-flow: wrap;
|
|
|
}
|
|
|
}
|
|
|
}
|