feat: There is no way the, bug #52941 注除全局右滚动条 调整 我的问答 滚动效果

This commit is contained in:
super_liu
2022-06-14 21:12:16 +08:00
parent 7e42473c79
commit 4f76b6392b
2 changed files with 14 additions and 3 deletions
+2 -1
View File
@@ -372,13 +372,14 @@ export default {
overflow-x: auto; overflow-x: auto;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
overflow-y: hidden;
.container-box { .container-box {
position: relative; position: relative;
height: calc(~'100% - 10px'); height: calc(~'100% - 10px');
//flex: 1; //flex: 1;
background: #F4F4F4; background: #F4F4F4;
overflow-y: auto; /*overflow-y: auto;*/
.pagination { .pagination {
border-top: 1px solid #f4f4f4; border-top: 1px solid #f4f4f4;
@@ -1811,9 +1811,10 @@ export default {
margin-right: 0; margin-right: 0;
} }
/deep/.el-tabs__content { /deep/.el-tabs__content {
overflow-y: auto;
padding: 0; padding: 0;
.el-tab-pane { .el-tab-pane {
height: 100%; height: 98%;
} }
} }
} }
@@ -1825,7 +1826,7 @@ export default {
border-top: none; border-top: none;
border-bottom: none; border-bottom: none;
/deep/.el-tabs__nav { /deep/.el-tabs__nav {
height: calc(~'100% - 50px'); height: 100%;
overflow: auto; overflow: auto;
} }
/deep/ &.el-tabs--border-card .el-tabs__item{ /deep/ &.el-tabs--border-card .el-tabs__item{
@@ -1865,6 +1866,15 @@ export default {
background: #F5F7FA; background: #F5F7FA;
float: right; float: right;
margin: 20px 10px 0 80px; 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{ .info-answer{
height: 200px; height: 200px;