From 4f76b6392bcbd03a914f1f199b98ec47cf439edb Mon Sep 17 00:00:00 2001 From: super_liu <396572590@qq.com> Date: Tue, 14 Jun 2022 21:12:16 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20There=20is=20no=20way=20the,=20bug=20#5?= =?UTF-8?q?2941=20=E6=B3=A8=E9=99=A4=E5=85=A8=E5=B1=80=E5=8F=B3=E6=BB=9A?= =?UTF-8?q?=E5=8A=A8=E6=9D=A1=20=E8=B0=83=E6=95=B4=20=E6=88=91=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E7=AD=94=20=E6=BB=9A=E5=8A=A8=E6=95=88=E6=9E=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 3 ++- src/pages/personal/pages/my-questions/index.vue | 14 ++++++++++++-- 2 files changed, 14 insertions(+), 3 deletions(-) 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;