diff --git a/src/App.vue b/src/App.vue index 66361cd45..6f9e8d55e 100644 --- a/src/App.vue +++ b/src/App.vue @@ -372,13 +372,14 @@ export default { overflow-x: auto; display: flex; flex-direction: column; + overflow-y: hidden; .container-box { position: relative; height: calc(~'100% - 10px'); //flex: 1; background: #F4F4F4; - overflow-y: auto; + /*overflow-y: auto;*/ .pagination { border-top: 1px solid #f4f4f4; diff --git a/src/pages/personal/pages/my-questions/index.vue b/src/pages/personal/pages/my-questions/index.vue index b2bddf81f..7541be07c 100644 --- a/src/pages/personal/pages/my-questions/index.vue +++ b/src/pages/personal/pages/my-questions/index.vue @@ -1811,9 +1811,10 @@ export default { margin-right: 0; } /deep/.el-tabs__content { + overflow-y: auto; padding: 0; .el-tab-pane { - height: 100%; + height: 98%; } } } @@ -1825,7 +1826,7 @@ export default { border-top: none; border-bottom: none; /deep/.el-tabs__nav { - height: calc(~'100% - 50px'); + height: 100%; overflow: auto; } /deep/ &.el-tabs--border-card .el-tabs__item{ @@ -1865,6 +1866,15 @@ export default { background: #F5F7FA; float: right; margin: 20px 10px 0 80px; + word-break: break-word; /* 文本行的任意字内断开 */ + word-wrap: break-word; /* IE */ + white-space: -moz-pre-wrap; /* Mozilla */ + white-space: -hp-pre-wrap; /* HP printers */ + white-space: -o-pre-wrap; /* Opera 7 */ + white-space: -pre-wrap; /* Opera 4-6 */ + white-space: pre; /* CSS2 */ + white-space: pre-wrap; /* CSS 2.1 */ + white-space: pre-line; /* CSS 3 (and 2.1 as well, actually) */ } .info-answer{ height: 200px;