fix: #5 #11 图片右侧多余图块 移除数据底部色块 调整图片边框样式

This commit is contained in:
ZiuChen
2022-08-17 23:01:24 +08:00
parent 3aa9551414
commit b5efda6a82
2 changed files with 9 additions and 5 deletions

View File

@@ -45,16 +45,20 @@
white-space: pre-wrap;
flex-direction: column;
color: @text-color;
background-color: @bg-color;
img {
max-height: 150px;
img.clip-data-image {
max-height: 140px; // 比外框 max-height少一点 因为有 5px的边框
max-width: 90%;
padding: 5px;
background-color: @text-color-lighter;
border-radius: 5px;
}
.clip-data-status {
position: absolute;
width: fit-content;
color: @bg-color;
background-color: @text-color;
background-color: @text-color-lighter;
border-radius: 5px;
padding: 3px;
}
}
}