fix text overflow in announcement、problem and submission_details

This commit is contained in:
zema1 2017-11-26 15:29:08 +08:00
parent 1930292ef7
commit 3b41ab15fc
3 changed files with 13 additions and 2 deletions

View File

@ -6,7 +6,9 @@
<div slot="extra" class="panel-extra">
<slot name="extra"></slot>
</div>
<slot></slot>
<div class="panel-body">
<slot></slot>
</div>
</Card>
</template>
@ -59,4 +61,8 @@
}
}
}
.panel-body {
word-break: break-all;
word-wrap: break-word;
}
</style>

View File

@ -99,7 +99,7 @@
style: {
padding: '2px 0'
}
}, params.row.title)
}, params.row._id)
}
},
{

View File

@ -158,6 +158,11 @@
span {
margin-right: 10px;
}
pre {
white-space: pre-wrap;
word-wrap: break-word;
word-break: break-all;
}
}
}