fix: 将class移入公共css中,修改编辑器报红线的代码格式

This commit is contained in:
刘洪洪
2022-11-07 15:48:46 +08:00
parent 21e0f94d19
commit 809a6b5562
3 changed files with 182 additions and 124 deletions

View File

@@ -178,25 +178,3 @@ export default {
}
}
</script>
<style>
.detection-event-severity-color-block {
width: 5px;
height: 20px;
border-radius: 2.5px;
margin-left: -16px;
margin-right: 12px;
}
.detection-event-severity-block {
font-family: NotoSansHans-Medium;
font-size: 12px;
color: #046EC9;
font-weight: 500;
padding: 2px 10px;
background: rgba(56,172,210,0.10);
border: 1px solid #ADC7DB;
box-shadow: 0 2px 0.28571rem 0 rgb(51 51 51 / 2%);
border-radius: 3px;
margin-right: 10px;
}
</style>