Commit 67f949f4 by liimin

fix(gatheringAlarmDetail): 修复聚合告警详情抽屉滚动异常问题

新增自定义抽屉类名并添加SCSS样式,让抽屉主体内容溢出时可正常垂直滚动
1 parent b33963ef
......@@ -4,6 +4,7 @@
:visible.sync="visible"
direction="rtl"
size="70%"
custom-class="gathering-alarm-detail-drawer"
:wrapper-closable="false"
:before-close="handleClose"
@closed="handleClosed"
......@@ -321,3 +322,17 @@ export default {
}
}
</style>
<style lang="scss">
.gathering-alarm-detail-drawer {
display: flex;
flex-direction: column;
}
.gathering-alarm-detail-drawer .el-drawer__body {
flex: 1;
min-height: 0;
overflow-y: auto !important;
overflow-x: hidden;
}
</style>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!